{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-7539 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-7539 is a high-severity memory corruption vulnerability in oFono, published on 5 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-7539 and fix it if it is affected.\n\nWhat it is: CVE-2024-7539 is a high-severity memory corruption vulnerability in oFono, published on 5 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-7539 in the wild and no public exploit code.\n\nAffected product: oFono. 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-7539/ (Markdown: https://insights.sbomify.com/CVE-2024-7539/index.md)","id":"CVE-2024-7539","markdown":"https://insights.sbomify.com/CVE-2024-7539/index.md","name":"CVE-2024-7539","record":{"aliases":["DEBIAN-CVE-2024-7539","GHSA-vq6x-89qw-7665","UBUNTU-CVE-2024-7539"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"oFono telephony stack","requires_auth":"low_privilege","summary":"Local attackers with modem code execution can trigger a stack buffer overflow in oFono to execute arbitrary code as root.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"ofono","vendor":"ofono_project"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"oFono CUSD Stack-based Buffer Overflow Code Execution Vulnerability. This vulnerability allows local attackers to execute arbitrary code on affected installations of oFono. An attacker must first obtain the ability to execute code on the target modem in order to exploit this vulnerability.\n\nThe specific flaw exists within the parsing of responses from AT+CUSD commands. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-23195.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"oFono CUSD Stack-based Buffer Overflow Code Execution Vulnerability","id":"CVE-2024-7539","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability","id":"CVE-2024-7540"},"packages":[],"prev":{"headline":"oFono CUSD AT Command Stack-based Buffer Overflow Code Execution Vulnerability","id":"CVE-2024-7538"},"products":["oFono"],"published":"2024-08-05","related":[{"cvss_score":7.8,"headline":"oFono CUSD AT Command Stack-based Buffer Overflow Code Execution Vulnerability","id":"CVE-2024-7538","kev_date_added":null,"published":"2024-08-05"},{"cvss_score":7.8,"headline":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability","id":"CVE-2024-7543","kev_date_added":null,"published":"2024-08-05"},{"cvss_score":7.8,"headline":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability","id":"CVE-2024-7544","kev_date_added":null,"published":"2024-08-05"},{"cvss_score":7.8,"headline":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability","id":"CVE-2024-7545","kev_date_added":null,"published":"2024-08-05"},{"cvss_score":7.8,"headline":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability","id":"CVE-2024-7546","kev_date_added":null,"published":"2024-08-05"},{"cvss_score":7,"headline":"oFono SMS Decoder Stack-based Buffer Overflow Privilege Escalation Vulnerability","id":"CVE-2024-7547","kev_date_added":null,"published":"2024-08-05"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-06","vendors":["oFono"]},"summary":"Local attackers with modem code execution can trigger a stack buffer overflow in oFono to execute arbitrary code as root.","url":"https://insights.sbomify.com/CVE-2024-7539/"}