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.

Severity (CVSS 3.1)7.0High
Exploit odds (30 days)0.4%top 67.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:8orc0.4.28-4.el8_10ALSA-2024:5306
AlmaLinux:9orc0.4.31-7.el9_4ALSA-2024:6184
AlmaLinux:8orc-compiler0.4.28-4.el8_10ALSA-2024:5306
AlmaLinux:9orc-compiler0.4.31-7.el9_4ALSA-2024:6184
AlmaLinux:8orc-devel0.4.28-4.el8_10ALSA-2024:5306
AlmaLinux:9orc-devel0.4.31-7.el9_4ALSA-2024:6184
Alpine:v3.20orc0.4.39-r0ALPINE-CVE-2024-40897
Alpine:v3.21orc0.4.39-r0ALPINE-CVE-2024-40897
Alpine:v3.22orc0.4.39-r0ALPINE-CVE-2024-40897
Alpine:v3.23orc0.4.39-r0ALPINE-CVE-2024-40897
Alpine:v3.24orc0.4.39-r0ALPINE-CVE-2024-40897
Debian:12orcno fix listedDEBIAN-CVE-2024-40897
Debian:13orc1:0.4.39-1DEBIAN-CVE-2024-40897
Debian:14orc1:0.4.39-1DEBIAN-CVE-2024-40897
Rocky Linux:8orc0:0.4.28-4.el8_10RLSA-2024:5306
Ubuntu:22.04:LTSorc1:0.4.32-2ubuntu0.1USN-6964-1
Ubuntu:22.04:LTSorc1:0.4.32-2ubuntu0.1UBUNTU-CVE-2024-40897
Ubuntu:24.04:LTSorc1:0.4.38-1ubuntu0.1UBUNTU-CVE-2024-40897
Ubuntu:24.04:LTSorc1:0.4.38-1ubuntu0.1USN-6964-1

Affected products (as reported)

VendorProductVersions
GStreamer ORC prior to 0.4.39

Weakness: CWE-121 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

References