axios icon indicating copy to clipboard operation
axios copied to clipboard

WS-2019-0032 (High) detected in js-yaml-2.0.5.tgz, js-yaml-3.6.1.tgz

Open mend-bolt-for-github[bot] opened this issue 3 years ago • 0 comments

WS-2019-0032 - High Severity Vulnerability

Vulnerable Libraries - js-yaml-2.0.5.tgz, js-yaml-3.6.1.tgz

js-yaml-2.0.5.tgz

YAML 1.2 parser and serializer

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/grunt/node_modules/js-yaml/package.json

Dependency Hierarchy:

  • grunt-0.4.5.tgz (Root Library)
    • :x: js-yaml-2.0.5.tgz (Vulnerable Library)
js-yaml-3.6.1.tgz

YAML 1.2 parser and serializer

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/js-yaml/package.json

Dependency Hierarchy:

  • coveralls-2.13.3.tgz (Root Library)
    • :x: js-yaml-3.6.1.tgz (Vulnerable Library)

Found in HEAD commit: 91ceb6046aaa22e9934ed13ea5acba9c988c490c

Found in base branch: master

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 (grunt): 1.0.4

Fix Resolution (js-yaml): 3.13.0

Direct dependency fix Resolution (coveralls): 3.0.0


Step up your Open Source Security Game with Mend here