Vulnerability · Published Jun 5, 2024 · Assigned by Google
CVE-2024-5171heap buffer overflow in libaom
Critical 10.0
In plain English
A critical-severity improper input validation in libaom from libaom. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Integer overflow in libaom internal function img_alloc_helper can lead to heap buffer overflow. This function can be reached via 3 callers: * Calling aom_img_alloc() with a large value of the d_w, d_h, or align parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned aom_image_t struct may be invalid. * Calling aom_img_wrap() with a large value of the d_w, d_h, or align parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned aom_image_t struct may be invalid. * Calling aom_img_alloc_with_border() with a large value of the d_w, d_h, align, size_align, or border parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned aom_image_t struct may be invalid.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | aom | 3.9.1-r0 | ALPINE-CVE-2024-5171 |
| Alpine:v3.21 | aom | 3.9.1-r0 | ALPINE-CVE-2024-5171 |
| Alpine:v3.22 | aom | 3.9.1-r0 | ALPINE-CVE-2024-5171 |
| Alpine:v3.23 | aom | 3.9.1-r0 | ALPINE-CVE-2024-5171 |
| Alpine:v3.24 | aom | 3.9.1-r0 | ALPINE-CVE-2024-5171 |
| Debian:12 | aom | 3.6.0-1+deb12u1 | DSA-5753-1 |
| Debian:12 | aom | 3.6.0-1+deb12u1 | DEBIAN-CVE-2024-5171 |
| Debian:13 | aom | 3.8.2-3 | DEBIAN-CVE-2024-5171 |
| Debian:14 | aom | 3.8.2-3 | DEBIAN-CVE-2024-5171 |
| Ubuntu:22.04:LTS | aom | 3.3.0-1ubuntu0.1 | USN-7397-1 |
| Ubuntu:22.04:LTS | aom | 3.3.0-1ubuntu0.1 | UBUNTU-CVE-2024-5171 |
| Ubuntu:24.04:LTS | aom | 3.8.2-2ubuntu0.1 | UBUNTU-CVE-2024-5171 |
| Ubuntu:24.04:LTS | aom | 3.8.2-2ubuntu0.1 | USN-6815-1 |
Affected products (as reported)
Weakness: CWE-20 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
References
- https://issues.chromium.org/issues/332382766
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6HYUEHZ35ZPY2EONVZCGO6LPT3AMLZCP/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U5NRNCEYS246CYGOR32MF7OGKWOWER22/
- https://lists.debian.org/debian-lts-announce/2024/09/msg00024.html