{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5171 exists.","fix":"Apply the vendor's patch.","what":"CVE-2024-5171 is a critical vulnerability in libaom, published on 5 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-5171 and fix it if it is affected.\n\nWhat it is: CVE-2024-5171 is a critical vulnerability in libaom, published on 5 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5171 exists.\n\nAffected product: libaom. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-5171/ (Markdown: https://insights.sbomify.com/CVE-2024-5171/index.md)","id":"CVE-2024-5171","markdown":"https://insights.sbomify.com/CVE-2024-5171/index.md","name":"CVE-2024-5171","record":{"aliases":["ALPINE-CVE-2024-5171","AZL-62420","BELL-CVE-2024-5171","DEBIAN-CVE-2024-5171","DLA-3881-1","DSA-5753-1","GHSA-592c-fmq9-g63c","JLSEC-2026-122","MGASA-2024-0220","OESA-2024-1949","OESA-2026-2776","OESA-2026-2779","SUSE-SU-2024:2030-1","SUSE-SU-2024:2052-1","SUSE-SU-2024:2056-1","UBUNTU-CVE-2024-5171","USN-6815-1","USN-7397-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"AV1 codec library","requires_auth":"none","summary":"An integer overflow in libaom's image allocation can lead to heap buffer overflows, potentially allowing code execution or denial of service.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"libaom","vendor":"aomedia"}],"cvss":{"score":10,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Integer overflow in libaom internal function img_alloc_helper can lead to heap buffer overflow. This function can be reached via 3 callers:\n\n  *  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.\n  *  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.\n  *  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.","ecosystems":["SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Desktop Applications 15 SP6","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.5","openSUSE:Leap 15.6"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"heap buffer overflow in libaom","id":"CVE-2024-5171","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2024"},"n_packages":18,"n_references":3,"next":{"headline":"Expert Invoice \u003c= 1.0.2 -Admin+ Stored XSS","id":"CVE-2024-5172"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["1.0.0-150200.3.18.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/suse/libaom\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2024:2030-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["1.0.0-150200.3.18.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/suse/libaom\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2024:2030-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["1.0.0-150200.3.18.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/suse/libaom\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2024:2030-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["3.2.0-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/suse/libaom\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2024:2052-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["3.2.0-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/suse/libaom\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2024:2052-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["3.2.0-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/suse/libaom\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2024:2052-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP6","fixed":["3.7.1-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/suse/libaom\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP6","source":"SUSE-SU-2024:2056-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["1.0.0-150200.3.18.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/suse/libaom\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2024:2030-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["1.0.0-150200.3.18.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/suse/libaom\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2024:2030-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["3.2.0-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/suse/libaom\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2024:2052-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["1.0.0-150200.3.18.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/suse/libaom\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2024:2030-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["1.0.0-150200.3.18.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/suse/libaom\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2024:2030-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["3.2.0-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/suse/libaom\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2024:2052-1"},{"ecosystem":"SUSE:Manager Proxy 4.3","fixed":["3.2.0-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/suse/libaom\u0026distro=SUSE%20Manager%20Proxy%204.3","source":"SUSE-SU-2024:2052-1"},{"ecosystem":"SUSE:Manager Server 4.3","fixed":["3.2.0-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/suse/libaom\u0026distro=SUSE%20Manager%20Server%204.3","source":"SUSE-SU-2024:2052-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["3.2.0-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/opensuse/libaom\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:2052-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["3.7.1-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libaom","purl":"pkg:rpm/opensuse/libaom\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:2056-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["3.7.1-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libaom-devel-doc","purl":"pkg:rpm/opensuse/libaom-devel-doc\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:2056-1"}],"prev":{"headline":"Logo Manager For Enamad \u003c= 0.7.1 - Admin+ Stored XSS via Widget","id":"CVE-2024-5170"},"products":["libaom"],"published":"2024-06-05","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["libaom"]},"summary":"An integer overflow in libaom's image allocation can lead to heap buffer overflows, potentially allowing code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2024-5171/"}