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-19797 (Medium) detected in node-sass-v4.12.0 #14

Open
mend-bolt-for-github bot opened this issue Jun 2, 2019 · 0 comments
Open

CVE-2018-19797 (Medium) detected in node-sass-v4.12.0 #14

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

Comments

@mend-bolt-for-github
Copy link
Contributor

CVE-2018-19797 - Medium Severity Vulnerability

Vulnerable Library - node-sassv4.12.0

🌈 Node.js bindings to libsass

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

Found in HEAD commit: 288343daa51a3d63dfbeab3a43a9fa9078c46a0a

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.

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

Vulnerability Details

In LibSass 3.5.5, a NULL Pointer Dereference in the function Sass::Selector_List::populate_extends in SharedPtr.hpp (used by ast.cpp and ast_selectors.cpp) may cause a Denial of Service (application crash) via a crafted sass input file.

Publish Date: 2018-12-03

URL: CVE-2018-19797

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.


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 Jun 2, 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