Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2018-19838 (Medium) detected in node-sass-v4.12.0 #55

Open
mend-bolt-for-github bot opened this issue May 24, 2019 · 0 comments
Open

CVE-2018-19838 (Medium) detected in node-sass-v4.12.0 #55

mend-bolt-for-github bot opened this issue May 24, 2019 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

CVE-2018-19838 - Medium Severity Vulnerability

Vulnerable Library - node-sassv4.12.0

🌈 Node.js bindings to libsass

Library home page: https://github.com/sass/node-sass.git

Library Source Files (125)

* 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.

  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/expand.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/color_maps.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/sass_util.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/utf8/unchecked.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/output.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/sass_values.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/util.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/emitter.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/lexer.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/test/test_node.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/plugins.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/include/sass/base.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/position.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/subset_map.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/operation.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/remove_placeholders.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/error_handling.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/custom_importer_bridge.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/contrib/plugin.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/functions.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/test/test_superselector.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/eval.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/utf8_string.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/sass_context_wrapper.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/error_handling.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/node.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/parser.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/subset_map.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/emitter.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/listize.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/ast.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/sass_functions.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/memory/SharedPtr.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/output.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/check_nesting.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/ast_def_macros.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/functions.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/cssize.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/prelexer.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/paths.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/ast_fwd_decl.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/inspect.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/sass_types/color.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/test/test_unification.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/values.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/sass_util.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/source_map.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/sass_types/list.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/check_nesting.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/json.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/units.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/units.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/context.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/utf8/checked.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/listize.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/sass_types/string.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/prelexer.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/context.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/sass_types/boolean.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/include/sass2scss.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/eval.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/expand.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/sass_types/factory.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/operators.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/sass_types/boolean.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/source_map.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/sass_types/value.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/utf8_string.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/callback_bridge.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/file.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/sass.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/node.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/environment.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/extend.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/sass_context.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/operators.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/constants.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/sass.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/ast_fwd_decl.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/parser.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/constants.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/sass_types/list.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/cssize.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/include/sass/functions.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/util.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/custom_function_bridge.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/custom_importer_bridge.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/bind.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/inspect.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/sass_functions.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/backtrace.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/extend.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/sass_types/sass_value_wrapper.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/debugger.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/cencode.c
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/base64vlq.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/sass_types/number.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/sass_types/color.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/c99func.c
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/position.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/remove_placeholders.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/sass_values.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/include/sass/values.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/test/test_subset_map.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/sass2scss.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/sass_types/null.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/ast.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/include/sass/context.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/to_c.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/to_value.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/color_maps.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/sass_context_wrapper.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/script/test-leaks.pl
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/lexer.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/memory/SharedPtr.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/to_c.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/sass_types/map.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/to_value.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/b64/encode.h
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/file.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/environment.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/plugins.hpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/binding.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/sass_context.cpp
  • /blackrock/OpenReferral-DataGuardUI/node_modules/node-sass/src/libsass/src/debug.hpp

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

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19838

Fix Resolution: 3.5.5


Step up your Open Source Security Game with WhiteSource here

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants