Vulnerability Details : CVE-2021-20304
A flaw was found in OpenEXR's hufDecode functionality. This flaw allows an attacker who can pass a crafted file to be processed by OpenEXR, to trigger an undefined right shift error. The highest threat from this vulnerability is to system availability.
Vulnerability category: Overflow
Products affected by CVE-2021-20304
- cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-20304
0.27%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 67 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-20304
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2021-20304
-
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.Assigned by:
- nvd@nist.gov (Secondary)
- secalert@redhat.com (Primary)
References for CVE-2021-20304
-
https://access.redhat.com/security/cve/CVE-2021-20304
CVE-2021-20304- Red Hat Customer PortalThird Party Advisory
-
https://github.com/AcademySoftwareFoundation/openexr/commit/51a92d67f53c08230734e74564c807043cbfe41e
check for valid Huf code lengths (#849) · AcademySoftwareFoundation/openexr@51a92d6 · GitHubPatch;Third Party Advisory
-
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26229
26229 - openexr:openexr_scanlines_fuzzer: Undefined-shift in Imf_2_5::hufDecode - oss-fuzzExploit;Mailing List;Third Party Advisory
-
https://github.com/AcademySoftwareFoundation/openexr/pull/849
check for valid Huf code lengths by peterhillman · Pull Request #849 · AcademySoftwareFoundation/openexr · GitHubPatch;Third Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=1939157
1939157 – (CVE-2021-20304) CVE-2021-20304 OpenEXR: Undefined-shift in Imf_2_5::hufDecodeIssue Tracking;Third Party Advisory
-
https://security.gentoo.org/glsa/202210-31
OpenEXR: Multiple Vulnerabilities (GLSA 202210-31) — Gentoo securityThird Party Advisory
Jump to