Out-of-bounds Write Affecting orc package, versions <0.4.39-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.04% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE320-ORC-7924838
  • published9 Sept 2024
  • disclosed26 Jul 2024

Introduced: 26 Jul 2024

CVE-2024-40897  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Alpine:3.20 orc to version 0.4.39-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream orc package and not the orc package as distributed by Alpine. See How to fix? for Alpine:3.20 relevant fixed versions and status.

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.

CVSS Scores

version 3.1