Skip to content

Add requirements or recommendations about allow/deny lists for reference target retrieval #4037

Open
@handrews

Description

@handrews

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    re-use: ref/id resolutionhow $ref, operationId, or anything else is resolvedsecurity: metaMetadata in and about the specification

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions