CVE-2021-3941
Last modified
CVE-2021-3941 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openexr | Openexr | 3.1.2 |
| Redhat | Enterprise Linux | 6.0 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux | 8.0 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2019789Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00022.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202210-31Third Party Advisory
- https://www.debian.org/security/2022/dsa-5299Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2019789Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00022.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202210-31Third Party Advisory
- https://www.debian.org/security/2022/dsa-5299Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-3941?
How severe is CVE-2021-3941?
How do I fix CVE-2021-3941?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-39394mm-wiki v0.2.1 was discovered to contain a Cross-Site Reques…6.5
- CVE-2021-3940Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-39402MaianAffiliate v.1.0 is suffers from code injection by addin…7.2
- CVE-2021-39404MaianAffiliate v1.0 allows an authenticated administrative u…4.8
- CVE-2021-39408Cross Site Scripting (XSS) vulnerability exists in Online St…6.1
- CVE-2021-39409A vulnerability exists in Online Student Rate System v1.0 th…9.8
- CVE-2021-39411Multiple Cross Site Scripting (XSS) vulnerabilities exist in…6.1
- CVE-2021-39412Multiple Cross Site Scripting (XSS) vulnerabilities exists i…6.1
- CVE-2021-39413Multiple Cross Site Scripting (XSS) vulnerabilities exits in…6.1
- CVE-2021-39416Multiple Cross Site Scripting (XSS) vulnerabilities exists i…6.1
- CVE-2021-3942Certain HP Print products and Digital Sending products may b…9.8
- CVE-2021-39420Multiple Cross Site Scripting (XSS) vulnerabilities exist in…6.1
Are you affected by CVE-2021-3941?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
