Out-of-bounds read in libjpeg-turbo - CVE-2021-37972

 

Out-of-bounds read in libjpeg-turbo - CVE-2021-37972

Published: September 21, 2021 / Updated: November 19, 2021


Vulnerability identifier: #VU56789
CSH Severity: Low
CVSS v4: 1.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-37972
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition when processing images within the libjpeg-turbo library. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.


Affected software

libjpeg-turbo
Gentoo Linux
Fedora
Google Chrome
Microsoft Edge
libjpeg-turbo
media-libs/libjpeg-turbo
qt5-qtwebengine
chromium
chromium (Debian package)

How to mitigate CVE-2021-37972

Install update from vendor's website.

libjpeg-turbo - update to 2.1.2
Google Chrome - update to 94.0.4606.54
Microsoft Edge - update to 94.0.992.31
libjpeg-turbo - addressed in versions 2.0.90-3.fc34, 2.1.0-3.fc35
media-libs/libjpeg-turbo - update to 2.1.1
qt5-qtwebengine - addressed in versions 5.15.8-2.fc34, 5.15.8-2.fc35
chromium - addressed in versions 94.0.4606.61-1.el8, 94.0.4606.61-1.fc33, 94.0.4606.61-1.fc34, 94.0.4606.61-1.fc35
chromium (Debian package) - update to 97.0.4692.71-0.1~deb11u1

External References

Related Security Bulletins