{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-37457 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-37457 is a high-severity memory corruption vulnerability in Digium Asterisk, published on 14 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-37457 and fix it if it is affected.\n\nWhat it is: CVE-2023-37457 is a high-severity memory corruption vulnerability in Digium Asterisk, published on 14 Dec 2023. 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-2023-37457 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-2023-37457/ (Markdown: https://insights.sbomify.com/CVE-2023-37457/index.md)","id":"CVE-2023-37457","markdown":"https://insights.sbomify.com/CVE-2023-37457/index.md","name":"CVE-2023-37457","record":{"aliases":["ALPINE-CVE-2023-37457","DEBIAN-CVE-2023-37457","GHSA-98rc-4j27-74hh","UBUNTU-CVE-2023-37457"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Asterisk PBX","requires_auth":"none","summary":"A buffer overflow in Asterisk's PJSIP_HEADER update function allows memory corruption or crashes if dialplans process external data.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"asterisk","vendor":"digium"},{"product":"certified_asterisk","vendor":"sangoma"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"description":"Asterisk is an open source private branch exchange and telephony toolkit. In Asterisk versions 18.20.0 and prior, 20.5.0 and prior, and 21.0.0; as well as ceritifed-asterisk 18.9-cert5 and prior, the 'update' functionality of the PJSIP_HEADER dialplan function can exceed the available buffer space for storing the new value of a header. By doing so this can overwrite memory or cause a crash. This is not externally exploitable, unless dialplan is explicitly written to update a header based on data from an outside source. If the 'update' functionality is not used the vulnerability does not occur. A patch is available at commit a1ca0268254374b515fa5992f01340f7717113fa.","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":"Asterisk's PJSIP_HEADER dialplan function can overwrite memory/cause crash when using 'update'","id":"CVE-2023-37457","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"digium:asterisk","products":["digium:asterisk"],"type":"memory_corruption","year":"2023"},"n_packages":0,"n_references":3,"next":{"headline":"Out-of-bounds read when processing a received IPv6 packet","id":"CVE-2023-37459"},"packages":[],"prev":{"headline":"Null dereference in Firefox for iOS","id":"CVE-2023-37456"},"products":["asterisk"],"published":"2023-12-14","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":"2025-02-13","vendors":["asterisk"]},"summary":"A buffer overflow in Asterisk's PJSIP_HEADER update function allows memory corruption or crashes if dialplans process external data.","url":"https://insights.sbomify.com/CVE-2023-37457/"}