Skip to content

security: js-yaml DoS vulnerability via @redocly/openapi-core transitive dependency #265

Description

@farnalabs

Problem: npm audit reports 2 high-severity vulnerabilities in js-yaml (4.0.0 - 4.3.1) via @redocly/openapi-core transitive dependency. The vulnerability (GHSA-2883-xcg3-v3hh) allows DoS through maxTotalMergeKeys not limiting CPU use for empty merge sources.

Root cause: @redocly/openapi-core depends on a vulnerable version of js-yaml. This is a transitive dependency in the frontend devDependencies.

Fix plan: Run npm audit fix in frontend/ to update the transitive dependency to a patched version. This is a mechanical fix (XS size).

Size: XS | Detector: npm-audit | Severity: Major

Activity

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

    securitySecurity-related PR

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions