Bug 1671376 (CVE-2018-19826) - CVE-2018-19826 libsass: Infinite loop in Sass::Inspect::operator() function resulting in a denial of service
Summary: CVE-2018-19826 libsass: Infinite loop in Sass::Inspect::operator() function r...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-19826
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1671396 1671395
Blocks: 1671393
TreeView+ depends on / blocked
 
Reported: 2019-01-31 14:00 UTC by Andrej Nemec
Modified: 2019-09-29 15:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-21 15:03:10 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2019-01-31 14:00:47 UTC
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.

Upstream issue:

https://github.com/sass/libsass/issues/2781

Comment 1 Andrej Nemec 2019-01-31 14:16:21 UTC
Created libsass tracking bugs for this issue:

Affects: epel-7 [bug 1671396]
Affects: fedora-all [bug 1671395]

Comment 3 Riccardo Schirone 2019-02-21 15:03:10 UTC
Closing as NOTABUG because upstream believes this is "by design" and not an error in the code. See https://github.com/sass/libsass/issues/2781#issuecomment-447202429


Note You need to log in before you can comment on or make changes to this bug.