Add requirements or recommendations about allow/deny lists for reference target retrieval #4037
Labels
re-use: ref/id resolution
how $ref, operationId, or anything else is resolved
security: meta
Metadata in and about the specification
Milestone
As multi-document OADs become more important due to both new use cases and an increasing number of OADs that are far too large to work with as a single document, we should be more clear about the resource location and retrieval process.
In particular, there is a security risk to fetching resources from arbitrary locations. We should at least RECOMMEND some sort of allow/deny functionality, and require (MUST) a sensible default behavior.
For example, it's conceivable that a poorly designed API runtime tool running at improperly elevated privilege could be induced to load a sensitive file, get confused, and display it in an error message over the network. Or, a tool that does something bad like
eval()
fetched JSON could be sent a malicious bit of JavaScript instead.The text was updated successfully, but these errors were encountered: