Bug 1671379 (CVE-2018-19837) - CVE-2018-19837 libsass: Stack consumption in Sass::Eval::operator() resulting in a denial of service
Summary: CVE-2018-19837 libsass: Stack consumption in Sass::Eval::operator() resulting...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-19837
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 1678800
Blocks: 1671393
TreeView+ depends on / blocked
 
Reported: 2019-01-31 14:03 UTC by Andrej Nemec
Modified: 2021-10-27 03:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-27 03:23:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2019-01-31 14:03:13 UTC
In LibSass prior to 3.5.5, Sass::Eval::operator()(Sass::Binary_Expression*) inside eval.cpp allows attackers to cause a denial-of-service resulting from stack consumption via a crafted sass file, because of certain incorrect parsing of '%' as a modulo operator in parser.cpp.

Upstream issue:

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

Upstream patch:

https://github.com/sass/libsass/commit/210fdff7a65370c2ae24e022a2b35da8c423cc5f

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

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


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