Description
WS-2019-0063 - High Severity Vulnerability
Vulnerable Library - js-yaml-3.8.4.tgz
YAML 1.2 parser and serializer
Library home page: https://registry.npmjs.org/js-yaml/-/js-yaml-3.8.4.tgz
Path to dependency file: /ecommerce-react-redux-saga-demo/redux-saga-cart/package.json
Path to vulnerable library: /redux-saga-cart/node_modules/js-yaml/package.json
Dependency Hierarchy:
- jest-20.0.4.tgz (Root Library)
- jest-cli-20.0.4.tgz
- istanbul-api-1.1.10.tgz
- ❌ js-yaml-3.8.4.tgz (Vulnerable Library)
- istanbul-api-1.1.10.tgz
- jest-cli-20.0.4.tgz
Found in base branch: master
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
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 (jest): 20.1.0-chi.1
Step up your Open Source Security Game with Mend here