Bug 1214576 (CVE-2022-26592)

Summary: VUL-0: CVE-2022-26592: libsass: Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector:has_real_parent_ref function.
Product: [Novell Products] SUSE Security Incidents Reporter: Stoyan Manolov <stoyan.manolov>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: coldpool, mvetter, pgajdos, security-team
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/376020/
Whiteboard: CVSSv3.1:SUSE:CVE-2022-26592:5.3:(AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stoyan Manolov 2023-08-24 11:49:25 UTC
CVE-2022-26592

Stack Overflow vulnerability in libsass 3.6.5 via the
CompoundSelector::has_real_parent_ref function.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-26592
https://www.cve.org/CVERecord?id=CVE-2022-26592
https://github.com/sass/libsass/issues/3174
Comment 2 Petr Gajdos 2023-09-08 09:11:40 UTC
No change in upstream bug.
Comment 4 Petr Gajdos 2023-10-12 13:23:24 UTC
No news in upstream bug.
Comment 6 Petr Gajdos 2023-12-04 08:34:43 UTC
No news in upstream bug.
Comment 7 Michael Vetter 2023-12-15 09:52:26 UTC
I did some research and commented my findings at:
https://github.com/sass/libsass/issues/3177#issuecomment-1854445404

And could motivate upstream maintainer Marcel Greter to provide:
https://github.com/sass/libsass/pull/3184 which fixes this issue.

I backported these changes as libsass-CVE-2022-43357,CVE-2022-43358,CVE-2022-26592.patch and ran them against all 3 POCs, which are now solved.

SR#1133374 to devel:libraries:c_c++/libsass
SR#315778 to SUSE_SLE-15-SP2_Update
Comment 9 Maintenance Automation 2023-12-18 20:36:08 UTC
SUSE-SU-2023:4895-1: An update that solves three vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1214573, 1214575, 1214576
CVE References: CVE-2022-26592, CVE-2022-43357, CVE-2022-43358
Sources used:
SUSE Package Hub 15 15-SP4 (src): libsass-3.6.5-150200.4.10.1
SUSE Package Hub 15 15-SP5 (src): libsass-3.6.5-150200.4.10.1
openSUSE Leap 15.4 (src): libsass-3.6.5-150200.4.10.1
openSUSE Leap 15.5 (src): libsass-3.6.5-150200.4.10.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.