Out-of-bounds Write Affecting orc-compiler package, versions <0:0.4.26-1.amzn2.0.3


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (6th 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-AMZN2-ORCCOMPILER-8611926
  • published10 Jan 2025
  • 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 Amazon-Linux:2 orc-compiler to version 0:0.4.26-1.amzn2.0.3 or higher.
This issue was patched in ALAS2-2025-2727.

NVD Description

Note: Versions mentioned in the description apply only to the upstream orc-compiler package and not the orc-compiler package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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