CVE-2022-43357 json
Stack overflow vulnerability in `ast_selectors.cpp` in function...
published 2023-08-22 3 y ago modified 2026-09-08 2 mo ago also BIT-sass-2022-43357 , EUVD-2022-46396 , GHSA-j7vr-2gc9-mmv7 , JLSEC-2026-664
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami sass 3.6.5
- libsass Debian 14, Debian 13 3.6.5+20231221-2
debian advisories DEBIAN-CVE-2022-43357
- libsass SLE Module for Package Hub 15 SP5, SLE Module for Package Hub 15 SP4, openSUSE Leap 15.5 +1 more 3.6.5-150200.4.10.1
suse advisories SUSE-SU-2023:4895-1
- libsass openSUSE Tumbleweed 3.6.5-2.1
opensuse advisories openSUSE-SU-2024:13516-1
- libsass Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 3.6.6-r0
alpine advisories ALPINE-CVE-2022-43357
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-43357 updated cvss 5.3
libsass: stack overflow in Sass::CompoundSelector::has_real_parent_ref() in ast_selectors.cpp
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.52% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- drive.google.com https://drive.google.com/file/d/1aC5q3czen0atI91fuBIoCBFkS30_OSWX/ referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/sass/libsass/issues/3177 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | sass | >=3.6.5-8-g210218, <3.6.5 |
3.6.5 |
| julia | SassC_jll | all versions |
no fix listed |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
drive.google.com
/file/d/1aC5q3czen0atI91fuBIoCBFkS30_OSWX/
exploit, permissions-required, third-party-advisory, advisory, web
-
github.com
/sass/libsass/issues/3177
exploit, issue-tracking, vendor-advisory, advisory, web
-
github.com
/sass/libsass
product, web
-
nvd.nist.gov
/vuln/detail/CVE-2022-43357
web
-
drive.google.com
/file/d/1aC5q3czen0atI91fuBIoCBFkS30_OSWX
web
-
github.com
/advisories/GHSA-j7vr-2gc9-mmv7
web
Sources
- CVE List CVE-2022-43357
- NVD CVE-2022-43357
- OSV BIT-sass-2022-43357
- OSV JLSEC-2026-664
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.