CVE-2023-50245: Afichet/openexr viewer Memory Overflow Vulnerability Vulnerability
CRITICALCVE-2023-50245 is a CRITICAL (CVSS 9.8) memory overflow vulnerability vulnerability (CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')) affecting Afichet/openexr viewer libraries in the GitHub Actions ecosystem. The issue involves memory overflow vulnerability in openexr-viewer. Remediation is available by upgrading affected packages to version 0.6.1.
CVE-2023-50245 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-50245
To remediate this vulnerability, upgrade all affected Afichet/openexr viewer dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade afichet/openexr-viewer to 0.6.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for afichet/openexr-viewer
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-50245, inspect your project dependencies for Afichet/openexr viewer:
inspect dependencies for afichet/openexr-viewer
Analyze the terminal output to locate any version of Afichet/openexr viewer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow'), where the product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer. In Afichet/openexr viewer, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-50245 Affected Afichet/openexr viewer Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
afichet/openexr-viewer
|
GitHub Actions |
< 0.6.1
|
0.6.1
|
References
Frequently Asked Questions
What is CVE-2023-50245?
Which Afichet/openexr viewer versions are affected?
What version fixes CVE-2023-50245?
Is afichet/openexr-viewer affected?
What is the CVSS score of CVE-2023-50245?
What CWE is associated with CVE-2023-50245?
How can I check GitHub Actions dependencies for CVE-2023-50245?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-99jg-r3f4-rpxj",
"modified" : "2023-12-12T13:20:29Z",
"published" : "2023-12-12T13:20:29Z",
"aliases" : [ "CVE-2023-50245" ],
"summary" : "memory overflow vulnerability in OpenEXR-viewer",
"details" : "Just open this exr file through openexr-viewer.\n\n( poc send by email )\n\nThis is windbg log file.\n\n[ POC 2 ]\n(8660.7e44): Access violation - code c0000005 (!!! second chance !!!)\nopenexr_viewer+0x27be4:\n00007ff7`13ff7be4 c744880c0000803f mov dword ptr [rax+rcx*4+0Ch],3F800000h ds:0000020a`3ac8000c=????????\n\nAttempt to write the value 1.0 to the memory address 0x20A3AC8000C\n\n[ POC 1 ]\n(1404.9264): Access violation - code c0000005 (first chance)\nFirst chance exceptions are reported before any exception handling.\nThis exception may be expected and handled.\nopenexr_viewer+0x27be4:\n00007ff7`13ff7be4 c744880c0000803f mov dword ptr [rax+rcx*4+0Ch],3F800000h ds:0000029c`b371600c=????????\n\nAttempt to write the value 1.0 to the memory address 0x29CB371600C\n\n\nCredits\nTeam : ZeroPointer\n이동하 ( Lee Dong Ha of ZeroPointer Lab )\n정지민 ( Jeong Jimin of ZeroPointer Lab )\n박우진 ( Park Woojin of ZeroPointer Lab )\n전우진 ( Jeon Woojin of ZeroPointer Lab )\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "GitHub Actions",
"name" : "afichet/openexr-viewer"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.6.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/afichet/openexr-viewer/security/advisories/GHSA-99jg-r3f4-rpxj"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-50245"
}, {
"type" : "WEB",
"url" : "https://github.com/afichet/openexr-viewer/commit/d0a7e85dfeb519951fb8a8d70f73f30d41cdd3d9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/afichet/openexr-viewer"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-120" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-12-12T13:20:29Z",
"nvd_published_at" : "2023-12-11T23:15:08Z"
}
}