Skip to content

Security considerations should mention treating URIs as URLs (from $ref and $schema) #1231

Open
@Relequestual

Description

Activity

karenetheridge

karenetheridge commented on May 21, 2022

@karenetheridge
Member

We mention earlier on that it is NOT required for an implementation to support loading resources from the web (https://json-schema.org/draft/2020-12/json-schema-core.html#rfc.section.8.2.3), but this may not be prominent enough as a warning; we could do with repeating it in the security section. (And possibly generalize to loading from anywhere, including disk.)

awwright

awwright commented on May 22, 2022

@awwright
Member

Yeah, specifically mention the risks of loading resources controlled by third parties, as well as performance and privacy concerns. e.g. validation that relies on network operations can potentially be blocked by DoS attacks.

Network operations should be limited to hypermedia APIs and similar applications where this risk already exists and is built into the architecture. We sort of mention this in the appropriate sections, but it can be duplicated in security concerns.

added this to the stable-release milestone on Jun 18, 2024
moved this from Awaiting PR to In Discussion in Stable Release Developmenton Aug 17, 2024
moved this from In Discussion to Awaiting PR in Stable Release Developmenton Apr 26, 2025
moved this from Awaiting PR to In Progress in Stable Release Developmenton Apr 26, 2025
linked a pull request that will close this issue on Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Progress

    Status

    In Discussion

    Relationships

    None yet

      Development

      Participants

      @karenetheridge@awwright@Relequestual@handrews@gregsdennis

      Issue actions

        Security considerations should mention treating URIs as URLs (from $ref and $schema) · Issue #1231 · json-schema-org/json-schema-spec