CVE-2024-27319 Onnx Out-of-bounds Read vulnerability

Medium 4.4 Published Updated

An out-of-bounds read in ONNX allows attackers to cause denial of service or disclose sensitive memory contents via crafted models.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-27319?

CVE-2024-27319 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 23 Feb 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Versions of the package onnx before and including 1.15.0 are vulnerable to Out-of-bounds Read as the ONNX_ASSERT and ONNX_ASSERTM functions have an off by one string copy.

Weakness: CWE-125

Which versions are affected by CVE-2024-27319?

3 open source packages ship an affected version, including onnx. It affects 2 products.

PackageAffectedFixed in
onnx PyPIAll versions1.16.0
onnx PyPIAll versions1.16.0
onnx PyPIAll versions1.16.0

Products include Fedoraproject Fedora, Linuxfoundation Onnx.

How do I fix CVE-2024-27319?

Upgrade onnx to 1.16.0 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-27319 being exploited?

There is no known exploitation of CVE-2024-27319 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-34465, AZL-35148, GHSA-h8wv-9h96-m4hr, PYSEC-2024-223.

Is CVE-2024-27319 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free