{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2007-5358 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2007-5358 is a medium-severity memory corruption vulnerability in Digium Asterisk, published on 12 Oct 2007. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2007-5358 and fix it if it is affected.\n\nWhat it is: CVE-2007-5358 is a medium-severity memory corruption vulnerability in Digium Asterisk, published on 12 Oct 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2007-5358 in the wild and no public exploit code.\n\nAffected product: Digium Asterisk. 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-2007-5358/ (Markdown: https://insights.sbomify.com/CVE-2007-5358/index.md)","id":"CVE-2007-5358","markdown":"https://insights.sbomify.com/CVE-2007-5358/index.md","name":"CVE-2007-5358","record":{"aliases":["DEBIAN-CVE-2007-5358","GHSA-qx34-mm7f-757c"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Asterisk PBX","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via buffer overflows in Asterisk voicemail when IMAP storage is enabled.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"asterisk","vendor":"digium"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"Multiple buffer overflows in the voicemail functionality in Asterisk 1.4.x before 1.4.13, when using IMAP storage, might allow (1) remote attackers to execute arbitrary code via a long combination of Content-type and Content-description headers, or (2) local users to execute arbitrary code via a long combination of astspooldir, voicemail context, and voicemail mailbox fields.  NOTE: vector 2 requires write access to Asterisk configuration files.","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":"Memory corruption in n/a","id":"CVE-2007-5358","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"digium:asterisk","products":["digium:asterisk"],"type":"memory_corruption","year":"2007"},"n_packages":0,"n_references":10,"next":{"headline":"Memory corruption in n/a","id":"CVE-2007-5360"},"packages":[],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2007-5357"},"products":["n/a"],"published":"2007-10-12","related":[{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2017-14100","kev_date_added":null,"published":"2017-09-02"},{"cvss_score":9,"headline":"Privilege escalation in n/a","id":"CVE-2014-8418","kev_date_added":null,"published":"2014-11-24"},{"cvss_score":9,"headline":"Missing authorization in n/a","id":"CVE-2011-1599","kev_date_added":null,"published":"2011-04-27"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2017-16671","kev_date_added":null,"published":"2017-11-09"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2017-7617","kev_date_added":null,"published":"2017-04-10"},{"cvss_score":7.8,"headline":"Denial of service in n/a","id":"CVE-2009-2726","kev_date_added":null,"published":"2009-08-12"},{"cvss_score":7.8,"headline":"Null dereference in n/a","id":"CVE-2007-1306","kev_date_added":null,"published":"2007-03-07"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code via buffer overflows in Asterisk voicemail when IMAP storage is enabled.","url":"https://insights.sbomify.com/CVE-2007-5358/"}