Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json-schema-ref-parser-4.1.1.tgz: 2 vulnerabilities (highest severity is: 8.1) #1126

Open
mend-for-github-com bot opened this issue May 5, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented May 5, 2024

Vulnerable Library - json-schema-ref-parser-4.1.1.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/multiple_sub_dependencies/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/multiple_sub_dependencies/node_modules/json-schema-ref-parser/node_modules/js-yaml/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (json-schema-ref-parser version) Remediation Possible** Reachability
WS-2019-0063 High 8.1 js-yaml-3.11.0.tgz Transitive 5.0.0
WS-2019-0032 High 7.5 js-yaml-3.11.0.tgz Transitive 5.0.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

WS-2019-0063

Vulnerable Library - js-yaml-3.11.0.tgz

YAML 1.2 parser and serializer

Library home page: https://registry.npmjs.org/js-yaml/-/js-yaml-3.11.0.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/multiple_sub_dependencies/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/multiple_sub_dependencies/node_modules/json-schema-ref-parser/node_modules/js-yaml/package.json

Dependency Hierarchy:

  • json-schema-ref-parser-4.1.1.tgz (Root Library)
    • js-yaml-3.11.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Js-yaml prior to 3.13.1 are vulnerable to Code Injection. The load() function may execute arbitrary code injected through a malicious YAML file.

Publish Date: 2019-04-05

URL: WS-2019-0063

CVSS 3 Score Details (8.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/813

Release Date: 2019-04-05

Fix Resolution (js-yaml): 3.13.1

Direct dependency fix Resolution (json-schema-ref-parser): 5.0.0

⛑️ Automatic Remediation will be attempted for this issue.

WS-2019-0032

Vulnerable Library - js-yaml-3.11.0.tgz

YAML 1.2 parser and serializer

Library home page: https://registry.npmjs.org/js-yaml/-/js-yaml-3.11.0.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/multiple_sub_dependencies/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/multiple_sub_dependencies/node_modules/json-schema-ref-parser/node_modules/js-yaml/package.json

Dependency Hierarchy:

  • json-schema-ref-parser-4.1.1.tgz (Root Library)
    • js-yaml-3.11.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Versions js-yaml prior to 3.13.0 are vulnerable to Denial of Service. By parsing a carefully-crafted YAML file, the node process stalls and may exhaust system resources leading to a Denial of Service.

Publish Date: 2019-03-20

URL: WS-2019-0032

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/788/versions

Release Date: 2019-03-20

Fix Resolution (js-yaml): 3.13.0

Direct dependency fix Resolution (json-schema-ref-parser): 5.0.0

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants