In LibSass prior to 3.5.5, functions inside ast.cpp for IMPLEMENT_AST_OPERATORS expansion allow attackers to cause a denial-of-service resulting from stack consumption via a crafted sass file, as demonstrated by recursive calls involving clone(), cloneChildren(), and copy().
CVE-2018-19838 - Medium Severity Vulnerability
Vulnerable Libraries - node-sass-4.7.2.tgz, node-sassv4.7.0
node-sass-4.7.2.tgz
Wrapper around libsass
Library home page: https://registry.npmjs.org/node-sass/-/node-sass-4.7.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/node-sass/package.json
Dependency Hierarchy: - app-scripts-3.1.9.tgz (Root Library) - :x: **node-sass-4.7.2.tgz** (Vulnerable Library)
Found in HEAD commit: 36e50af1a29f1ee74ab7c6293bd41021ebaf81f5
Found in base branch: master
Vulnerability Details
In LibSass prior to 3.5.5, functions inside ast.cpp for IMPLEMENT_AST_OPERATORS expansion allow attackers to cause a denial-of-service resulting from stack consumption via a crafted sass file, as demonstrated by recursive calls involving clone(), cloneChildren(), and copy().
Publish Date: 2018-12-04
URL: CVE-2018-19838
CVSS 3 Score Details (6.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - 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
Release Date: 2018-12-04
Fix Resolution (node-sass): 4.14.0
Direct dependency fix Resolution (@ionic/app-scripts): 3.2.1
Step up your Open Source Security Game with Mend here