Browse / AI Framework and Platform Flaws / CVE-2024-27319
Onnx Out-of-bounds Read vulnerability
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Memory corruption
- Affected
- onnx (PyPI)
- CVSS
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
- EPSS
- 0.6% chance of exploitation in 30 days
How it works, in short
An off-by-one in the assertion macros' string copy causes an out-of-bounds read. (Our summary, written by a model. The source text is below.)
Details
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-27319
- https://github.com/onnx/onnx/commit/08a399ba75a805b7813ab8936b91d0e274b08287
- https://github.com/onnx/onnx
- https://github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2024-223.yaml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL
Source: GitHub Advisory Database, used under CC BY 4.0.