Out-of-bounds write in LibSass - CVE-2022-43358

 

Out-of-bounds write in LibSass - CVE-2022-43358

Published: December 22, 2023 / Updated: March 12, 2024


Vulnerability identifier: #VU84726
CSH Severity: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-43358
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
LibSass
Software vendor:
Sass

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input within the Sass::ComplexSelector::has_placeholder() function in ast_selectors.cpp. A remote attacker can pass specially crafted input to the application, trigger an out-of-bounds write and execute arbitrary code on the target system.


Remediation

Install updates from vendor's website.

External links