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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2019-6286 (Medium) detected in node-sass-v4.11.0 #64

Open
whitesource-bolt-for-github bot opened this issue May 6, 2019 · 1 comment

Comments

Projects
None yet
0 participants
@whitesource-bolt-for-github
Copy link

commented May 6, 2019

CVE-2019-6286 - Medium Severity Vulnerability

Vulnerable Library - node-sassv4.11.0

馃寛 Node.js bindings to libsass

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

Found in HEAD commit: 29dcad339d37f2169e5a640bf8d0d1438f7c18c2

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.

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

@issue-label-bot

This comment has been minimized.

Copy link

commented May 6, 2019

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.86. Please mark this comment with 馃憤 or 馃憥 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the bug label May 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can鈥檛 perform that action at this time.