Bug 2235705 (CVE-2022-43357)

Summary: CVE-2022-43357 libsass: stack overflow in Sass::CompoundSelector::has_real_parent_ref() in ast_selectors.cpp
Product: [Other] Security Response Reporter: Vipul Nair <vinair>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: desktop-qa-list, fmuellner
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2235706, 2235707, 2236108    
Bug Blocks: 2235711    

Description Vipul Nair 2023-08-29 13:40:30 UTC
Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.

https://github.com/sass/libsass/issues/3177
https://github.com/sass/libsass
https://drive.google.com/file/d/1aC5q3czen0atI91fuBIoCBFkS30_OSWX/

Comment 1 Vipul Nair 2023-08-29 13:41:17 UTC
Created libsass tracking bugs for this issue:

Affects: epel-all [bug 2235706]
Affects: fedora-all [bug 2235707]