Bug 1706031 (CVE-2018-20822)

Summary: CVE-2018-20822 libsass: DoS in Sass::Complex_Selector::perform in ast.hpp and Sass::Inspect::operator in inspect.cpp
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aurelien, fmuellner
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20180603,reported=20190423,source=cve,cvss3=7.5/CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H,cwe=CWE-674,fedora-all/libsass=affected,epel-7/libsass=affected,rhel-8/libsass=notaffected
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-15 09:52:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1706051, 1706052    
Bug Blocks: 1706049    

Description Dhananjay Arunesh 2019-05-03 12:18:00 UTC
LibSass 3.5.4 allows attackers to cause a denial-of-service (uncontrolled recursion in Sass::Complex_Selector::perform in ast.hpp and Sass::Inspect::operator in inspect.cpp).

Reference:
https://github.com/sass/libsass/issues/2671

Comment 1 Dhananjay Arunesh 2019-05-03 12:42:27 UTC
Created libsass tracking bugs for this issue:

Affects: fedora-all [bug 1706051]

Comment 2 Dhananjay Arunesh 2019-05-03 12:43:01 UTC
Created libsass tracking bugs for this issue:

Affects: epel-7 [bug 1706052]

Comment 3 Riccardo Schirone 2019-05-15 09:51:36 UTC
First vulnerable commit:
https://github.com/sass/libsass/commit/25c9b4952f5838b615da996035453967d0420f57

Comment 4 Riccardo Schirone 2019-05-15 09:52:39 UTC
Statement:

This issue did not affect the versions of libsass as shipped with Red Hat Enterprise Linux 8 as the flaw was introduced in a newer version of the library.