{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-7542 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-7542 is a low-severity 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-7542 and fix it if it is affected.\n\nWhat it is: CVE-2024-7542 is a low-severity 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-7542 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-7542/ (Markdown: https://insights.sbomify.com/CVE-2024-7542/index.md)","id":"CVE-2024-7542","markdown":"https://insights.sbomify.com/CVE-2024-7542/index.md","name":"CVE-2024-7542","record":{"aliases":["DEBIAN-CVE-2024-7542","GHSA-5v2c-phpf-wrv5","UBUNTU-CVE-2024-7542"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_read","code_execution"],"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 leak sensitive memory via uninitialized variables in oFono, potentially aiding root privilege escalation.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"ofono","vendor":"ofono_project"}],"cvss":{"score":3.3,"severity":"low","source":"cna","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-908","name":"Use of Uninitialized Resource"},{"id":"CWE-457","name":"Use of Uninitialized Variable"}],"description":"oFono AT CMGR Command Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows local attackers to disclose sensitive information 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+CMGR commands. The issue results from the lack of proper initialization of memory prior to accessing it. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of root. Was ZDI-CAN-23309.","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 AT CMGR Command Uninitialized Variable Information Disclosure Vulnerability","id":"CVE-2024-7542","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability","id":"CVE-2024-7543"},"packages":[],"prev":{"headline":"oFono AT CMT Command Uninitialized Variable Information Disclosure Vulnerability","id":"CVE-2024-7541"},"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 CUSD Stack-based Buffer Overflow Code Execution Vulnerability","id":"CVE-2024-7539","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-08","vendors":["oFono"]},"summary":"Local attackers with modem code execution can leak sensitive memory via uninitialized variables in oFono, potentially aiding root privilege escalation.","url":"https://insights.sbomify.com/CVE-2024-7542/"}