Stack-based buffer overflow in zlib-rs - CVE-2024-11249

 

Stack-based buffer overflow in zlib-rs - CVE-2024-11249

Published: November 21, 2024


Vulnerability identifier: #VU100772
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-11249
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when decompressing untrusted input. A remote unauthenticated attacker can pass a specially crafted file to the application, trigger a stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

zlib-rs
Fedora
rust-zlib-rs
rust-rustls

How to mitigate CVE-2024-11249

Install updates from vendor's website.

zlib-rs - update to 0.4.0
rust-zlib-rs - addressed in versions 0.4.0-1.el9, 0.4.0-1.el10_0, 0.4.0-1.fc40, 0.4.0-1.fc41, 0.4.0-1.fc42
rust-rustls - addressed in versions 0.23.17-1.el9, 0.23.17-1.el10_0, 0.23.17-1.fc40, 0.23.17-1.fc41, 0.23.17-1.fc42

External References

Related Security Bulletins