Divide By Zero Affecting openexr package, versions <2.5.4-2+deb11u1
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN11-OPENEXR-1913915
- published 10 Nov 2021
- disclosed 25 Mar 2022
Introduced: 10 Nov 2021
CVE-2021-3941 Open this link in a new tabHow to fix?
Upgrade Debian:11
openexr
to version 2.5.4-2+deb11u1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream openexr
package and not the openexr
package as distributed by Debian
.
See How to fix?
for Debian:11
relevant fixed versions and status.
In ImfChromaticities.cpp routine RGBtoXYZ(), there are some division operations such as float Z = (1 - chroma.white.x - chroma.white.y) * Y / chroma.white.y;
and chroma.green.y * (X + Z))) / d;
but the divisor is not checked for a 0 value. A specially crafted file could trigger a divide-by-zero condition which could affect the availability of programs linked with OpenEXR.
References
- https://security-tracker.debian.org/tracker/CVE-2021-3941
- https://bugzilla.redhat.com/show_bug.cgi?id=2019789
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I2JSMJ7HLWFPYYV7IAQZD5ZUUUN7RWBN/
- https://security.gentoo.org/glsa/202210-31
- https://www.debian.org/security/2022/dsa-5299
- https://lists.debian.org/debian-lts-announce/2022/12/msg00022.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I2JSMJ7HLWFPYYV7IAQZD5ZUUUN7RWBN/