Division by zero in libjpeg-turbo - CVE-2021-20205
Published: June 14, 2021
Vulnerability identifier: #VU54091
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-20205
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to divide by zero error when processing a crafted GIF image. A remote attacker can pass specially crafted file to the application and crash it.
Affected software
libjpeg-turbo
Fedora
libjpeg-turbo
mingw-libjpeg-turbo
Fedora
libjpeg-turbo
mingw-libjpeg-turbo
How to mitigate CVE-2021-20205
Install update from vendor's website.
libjpeg-turbo - update to 2.1.0
libjpeg-turbo - update to 2.0.90-2.fc34
mingw-libjpeg-turbo - update to 2.0.90-2.fc34
libjpeg-turbo - update to 2.0.90-2.fc34
mingw-libjpeg-turbo - update to 2.0.90-2.fc34
External References
- https://bugzilla.redhat.com/show_bug.cgi?id=1937385
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TM3AHZEYGYFEDL6AW5RLEAJNVRWEJDFL/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMLEY6HLVZAGXIOGGPPUAMRJUA6LB3FD/
- https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/2.1.0