Out-of-bounds write in LibSass - CVE-2022-43358
Published: December 22, 2023 / Updated: March 12, 2024
Vulnerability details
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.
Affected software
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
Fedora
SUSE Package Hub 15
openSUSE Leap
openEuler
Anolis OS
python-qtsass
python-libsass
libsass-debugsource
libsass-doc
libsass
libsass-devel
libsass-debuginfo
libsass-3_6_5-1
libsass-3_6_5-1-debuginfo
How to mitigate CVE-2022-43358
python-qtsass - update to 0.4.0-4.el9
python-libsass - update to 0.23.0-2.el9
libsass-debugsource - update to 3.6.4-2
libsass-doc - update to 3.6.4-2
libsass - update to 3.6.4-2
libsass-devel - update to 3.6.4-2
libsass-debuginfo - update to 3.6.4-2
libsass-devel - update to 3.6.4-2
libsass - update to 3.6.4-2
libsass-debugsource - update to 3.6.5-150200.4.10.1
libsass-3_6_5-1 - update to 3.6.5-150200.4.10.1
libsass-devel - update to 3.6.5-150200.4.10.1
libsass-3_6_5-1-debuginfo - update to 3.6.5-150200.4.10.1
libsass - update to 3.6.6-1.el9