Vulnerability · Published Mar 25, 2022 · Assigned by redhat
CVE-2021-3941
Medium 6.5
In plain English
A medium-severity security flaw in openexr. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)0.3%top 76.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | openexr | 3.1.5-2 | DEBIAN-CVE-2021-3941 |
| Debian:13 | openexr | 3.1.5-2 | DEBIAN-CVE-2021-3941 |
| Debian:14 | openexr | 3.1.5-2 | DEBIAN-CVE-2021-3941 |
Affected products (as reported)
Weakness: CWE-369
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2019789
- FEDORA-2022-18e14f460c vendor-advisory
- GLSA-202210-31 vendor-advisory
- DSA-5299 vendor-advisory
- [debian-lts-announce] 20221211 [SECURITY] [DLA 3236-1] openexr security update mailing-list