ForgeRock / end-user-ui

Identity Management (End User) - UI
MIT License
21 stars 31 forks source link

CVE-2018-19839 Medium Severity Vulnerability detected by WhiteSource #17

Closed mend-bolt-for-github[bot] closed 5 years ago

mend-bolt-for-github[bot] commented 5 years ago

CVE-2018-19839 - Medium Severity Vulnerability

Vulnerable Library - node-sassv4.9.4

:rainbow: Node.js bindings to libsass

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

Found in HEAD commit: 1042e5d49234f94944cbc8838945f8fd45d7d891

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.

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

Vulnerability Details

In LibSass prior to 3.5.5, the function handle_error in sass_context.cpp allows attackers to cause a denial-of-service resulting from a heap-based buffer over-read via a crafted sass file.

Publish Date: 2018-12-04

URL: CVE-2018-19839

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-19839

Fix Resolution: 3.5.5


Step up your Open Source Security Game with WhiteSource here