CVE-2022-43358 json
Stack overflow vulnerability in ast_selectors.cpp: in function Sass::ComplexSelector::has_placeholder in libsass:3.6.5-8-g210218, which can…
published 2023-08-22 3 y ago modified 2026-09-08 2 mo ago also BIT-sass-2022-43358 , EUVD-2022-46397
- 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::ComplexSelector::has_placeholder in libsass:3.6.5-8-g210218, which can be exploited by attackers to cause a denial of service (DoS).
Patch / fix
- bitnami sass 3.6.5
- libsass Debian 14, Debian 13 3.6.5+20231221-2
debian advisories DEBIAN-CVE-2022-43358
- 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-43358
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-43358 updated cvss 7.5
libsass: stack overflow in Sass::ComplexSelector::has_placeholder() 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
- github.com https://github.com/sass/libsass/issues/3178 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 |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/sass/libsass/issues/3178
exploit, issue-tracking, vendor-advisory, advisory
-
github.com
/sass/libsass
product, web
-
drive.google.com
/file/d/1j5fkPjWH9zQeTdO_4dMcZ-FpOBzP0MaI/
permissions-required, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-43358
web
Sources
- CVE List CVE-2022-43358
- NVD CVE-2022-43358
- OSV BIT-sass-2022-43358
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.