CVE-2018-19837 Medium Severity Vulnerability detected by WhiteSource
mend-bolt-for-github opened this issue Β· comments
CVE-2018-19837 - Medium Severity Vulnerability
Vulnerable Library - node-sassv4.9.4
π Node.js bindings to libsass
Library home page: https://github.com/sass/node-sass.git
Library Source Files (121)
* The source files were matched to this source library based on a best effort match. Source libraries are selected from a list of probable public libraries.
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/error_handling.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/output.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/output.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/check_nesting.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/sass_values.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/check_nesting.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/bind.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/test/test_node.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/constants.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/eval.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/plugins.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/include/sass/base.h
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/prelexer.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/subset_map.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/extend.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/custom_importer_bridge.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/contrib/plugin.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/lexer.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/sass_util.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/test/test_superselector.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/cencode.c
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/ast_fwd_decl.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/utf8_string.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/file.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/callback_bridge.h
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/subset_map.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/include/sass2scss.h
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/sass_functions.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/emitter.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/environment.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/ast_def_macros.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/paths.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/expand.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/listize.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/test/test_unification.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/source_map.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/inspect.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/source_map.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/sass_types/list.h
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/sass_functions.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/json.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/sass_util.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/position.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/listize.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/error_handling.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/sass_types/string.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/eval.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/environment.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/sass_types/boolean.h
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/emitter.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/extend.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/lexer.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/functions.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/debugger.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/sass_types/factory.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/prelexer.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/sass_types/color.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/operation.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/ast.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/sass.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/constants.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/sass_types/boolean.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/context.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/sass_types/value.h
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/units.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/cssize.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/parser.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/functions.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/position.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/sass_context_wrapper.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/sass_context.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/node.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/ast_fwd_decl.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/cssize.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/remove_placeholders.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/binding.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/sass_types/list.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/include/sass/functions.h
- /prowler-dashboard/web/node_modules/node-sass/src/custom_function_bridge.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/custom_importer_bridge.h
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/color_maps.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/utf8_string.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/sass_types/sass_value_wrapper.h
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/ast.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/values.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/sass_context_wrapper.h
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/b64/encode.h
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/sass.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/base64vlq.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/sass_types/number.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/c99func.c
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/node.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/remove_placeholders.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/util.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/memory/SharedPtr.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/backtrace.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/include/sass/values.h
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/test/test_subset_map.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/sass2scss.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/sass_context.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/memory/SharedPtr.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/sass_types/null.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/expand.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/to_value.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/context.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/include/sass/context.h
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/to_c.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/sass_values.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/color_maps.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/inspect.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/script/test-leaks.pl
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/to_c.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/util.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/sass_types/map.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/file.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/units.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/plugins.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/sass_types/color.h
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/to_value.cpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/debug.hpp
- /prowler-dashboard/web/node_modules/node-sass/src/libsass/src/parser.hpp
Vulnerability Details
In LibSass prior to 3.5.5, Sass::Eval::operator()(Sass::Binary_Expression*) inside eval.cpp allows attackers to cause a denial-of-service resulting from stack consumption via a crafted sass file, because of certain incorrect parsing of '%' as a modulo operator in parser.cpp.
Publish Date: 2018-12-04
URL: CVE-2018-19837
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
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19837
Fix Resolution: 3.5.5
Step up your Open Source Security Game with WhiteSource here