{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-3119 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-3119 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-3119 and fix it if it is affected.\n\nWhat it is: CVE-2024-3119 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-3119 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-3119/ (Markdown: https://insights.sbomify.com/CVE-2024-3119/index.md)","id":"CVE-2024-3119","markdown":"https://insights.sbomify.com/CVE-2024-3119/index.md","name":"CVE-2024-3119","record":{"aliases":["DEBIAN-CVE-2024-3119","GHSA-38jr-26cr-gjff","UBUNTU-CVE-2024-3119"],"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 headers due to a stack buffer overflow.","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 buffer overflow vulnerability exists in all versions of sngrep since v0.4.2, due to improper handling of 'Call-ID' and 'X-Call-ID' SIP headers. The functions sip_get_callid and sip_get_xcallid in sip.c use the strncpy function to copy header contents into fixed-size buffers without checking the data length. This flaw allows remote attackers to execute arbitrary code or cause a denial of service (DoS) through specially 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 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep","id":"CVE-2024-3119","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":"Stack-Buffer Overflow in 'Content-Length' and 'Warning' Header Processing in sngrep","id":"CVE-2024-3120"},"packages":[],"prev":{"headline":"Dreamer CMS Attachment permission","id":"CVE-2024-3118"},"products":["sngrep"],"published":"2024-04-09","related":[{"cvss_score":9,"headline":"Stack-Buffer Overflow in 'Content-Length' and 'Warning' Header Processing in sngrep","id":"CVE-2024-3120","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":"2024-08-08","vendors":["irontec"]},"summary":"Remote attackers can execute arbitrary code or cause denial of service in sngrep via crafted SIP headers due to a stack buffer overflow.","url":"https://insights.sbomify.com/CVE-2024-3119/"}