pp253 / nthu-select-courses

重新設計的選課系統,目標是提供清爽、直覺和方便的選課系統!
https://nthu-courses.github.io
Apache License 2.0
8 stars 1 forks source link

CVE-2018-19826 Low Severity Vulnerability detected by WhiteSource #32

Open mend-bolt-for-github[bot] opened 5 years ago

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

CVE-2018-19826 - Low Severity Vulnerability

Vulnerable Library - node-sassv4.9.4

:rainbow: Node.js bindings to libsass

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

Library Source Files (121)

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

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

Vulnerability Details

In inspect.cpp in LibSass 3.5.5, a high memory footprint caused by an endless loop (containing a Sass::Inspect::operator()(Sass::String_Quoted*) stack frame) may cause a Denial of Service via crafted sass input files with stray '&' or '/' characters.

Publish Date: 2018-12-03

URL: CVE-2018-19826

CVSS 2 Score Details (3.5)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

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

Fix Resolution: No fix version


Step up your Open Source Security Game with WhiteSource here