Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

CVE-2019-6286 (Medium) detected in node-sass-v4.12.0 #53

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

CVE-2019-6286 (Medium) detected in node-sass-v4.12.0 #53

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

Comments

@mend-bolt-for-github
Copy link
Contributor

CVE-2019-6286 - 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: c4b4153557cc59a4ee7b9cedf5d38ad01ff91b2d

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.

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

Vulnerability Details

In LibSass 3.5.5, a heap-based buffer over-read exists in Sass::Prelexer::skip_over_scopes in prelexer.hpp when called from Sass::Parser::parse_import(), a similar issue to CVE-2018-11693.

Publish Date: 2019-01-14

URL: CVE-2019-6286

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 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants