{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-3120 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-3120 is a critical memory corruption vulnerability in irontec sngrep, published on 9 Apr 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-3120 and fix it if it is affected.\n\nWhat it is: CVE-2024-3120 is a critical memory corruption vulnerability in irontec sngrep, published on 9 Apr 2024. 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-2024-3120 in the wild and no public exploit code.\n\nAffected product: irontec sngrep. 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-3120/ (Markdown: https://insights.sbomify.com/CVE-2024-3120/index.md)","id":"CVE-2024-3120","markdown":"https://insights.sbomify.com/CVE-2024-3120/index.md","name":"CVE-2024-3120","record":{"aliases":["DEBIAN-CVE-2024-3120","GHSA-4p8q-p8qc-486x","UBUNTU-CVE-2024-3120"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"SIP packet capture tool","requires_auth":"none","summary":"Remote attackers can execute arbitrary code or cause denial of service in sngrep via crafted SIP messages exploiting stack buffer overflows.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Pentraze","cpe":[{"product":"sngrep","vendor":"irontec"}],"cvss":{"score":9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"description":"A stack-buffer overflow vulnerability exists in all versions of sngrep since v1.4.1. The flaw is due to inadequate bounds checking when copying 'Content-Length' and 'Warning' headers into fixed-size buffers in the sip_validate_packet and sip_parse_extra_headers functions within src/sip.c. This vulnerability allows remote attackers to execute arbitrary code or cause a denial of service (DoS) via crafted SIP messages.","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":"Stack-Buffer Overflow in 'Content-Length' and 'Warning' Header Processing in sngrep","id":"CVE-2024-3120","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2024"},"n_packages":0,"n_references":3,"next":{"headline":"Remote Code Execution in create_conda_env function in parisneo/lollms","id":"CVE-2024-3121"},"packages":[],"prev":{"headline":"Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep","id":"CVE-2024-3119"},"products":["sngrep"],"published":"2024-04-09","related":[{"cvss_score":9,"headline":"Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep","id":"CVE-2024-3119","kev_date_added":null,"published":"2024-04-09"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2023-36192","kev_date_added":null,"published":"2023-06-23"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2023-31981","kev_date_added":null,"published":"2023-05-09"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2023-31982","kev_date_added":null,"published":"2023-05-09"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2024-35434","kev_date_added":null,"published":"2024-05-29"}],"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":"2025-02-21","vendors":["irontec"]},"summary":"Remote attackers can execute arbitrary code or cause denial of service in sngrep via crafted SIP messages exploiting stack buffer overflows.","url":"https://insights.sbomify.com/CVE-2024-3120/"}