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 Library - node-sass3.5.5
:rainbow: Node.js bindings to libsass
Library home page: https://github.com/sass/node-sass.git
Found in HEAD commit: 9dc0cb3749919e1417005d8857fa536e6b1e0d2f
Found in base branch: master
Vulnerable Source Files (1)
/node_modules/node-sass/src/libsass/src/ast.cpp
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: libsass - 3.5.5;node-sass - 4.14.0
Step up your Open Source Security Game with Mend here