Vulnerability · Published Jul 26, 2024 · Assigned by jpcert
CVE-2024-40897
High 7.0
In plain English
A high-severity stack buffer overflow in ORC from GStreamer. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Stack-based buffer overflow vulnerability exists in orcparse.c of ORC versions prior to 0.4.39. If a developer is tricked to process a specially crafted file with the affected ORC compiler, an arbitrary code may be executed on the developer's build environment. This may lead to compromise of developer machines or CI build environments.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | orc | 0.4.28-4.el8_10 | ALSA-2024:5306 |
| AlmaLinux:9 | orc | 0.4.31-7.el9_4 | ALSA-2024:6184 |
| AlmaLinux:8 | orc-compiler | 0.4.28-4.el8_10 | ALSA-2024:5306 |
| AlmaLinux:9 | orc-compiler | 0.4.31-7.el9_4 | ALSA-2024:6184 |
| AlmaLinux:8 | orc-devel | 0.4.28-4.el8_10 | ALSA-2024:5306 |
| AlmaLinux:9 | orc-devel | 0.4.31-7.el9_4 | ALSA-2024:6184 |
| Alpine:v3.20 | orc | 0.4.39-r0 | ALPINE-CVE-2024-40897 |
| Alpine:v3.21 | orc | 0.4.39-r0 | ALPINE-CVE-2024-40897 |
| Alpine:v3.22 | orc | 0.4.39-r0 | ALPINE-CVE-2024-40897 |
| Alpine:v3.23 | orc | 0.4.39-r0 | ALPINE-CVE-2024-40897 |
| Alpine:v3.24 | orc | 0.4.39-r0 | ALPINE-CVE-2024-40897 |
| Debian:12 | orc | no fix listed | DEBIAN-CVE-2024-40897 |
| Debian:13 | orc | 1:0.4.39-1 | DEBIAN-CVE-2024-40897 |
| Debian:14 | orc | 1:0.4.39-1 | DEBIAN-CVE-2024-40897 |
| Rocky Linux:8 | orc | 0:0.4.28-4.el8_10 | RLSA-2024:5306 |
| Ubuntu:22.04:LTS | orc | 1:0.4.32-2ubuntu0.1 | USN-6964-1 |
| Ubuntu:22.04:LTS | orc | 1:0.4.32-2ubuntu0.1 | UBUNTU-CVE-2024-40897 |
| Ubuntu:24.04:LTS | orc | 1:0.4.38-1ubuntu0.1 | UBUNTU-CVE-2024-40897 |
| Ubuntu:24.04:LTS | orc | 1:0.4.38-1ubuntu0.1 | USN-6964-1 |
Affected products (as reported)
Weakness: CWE-121 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H