{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-3119","assignerOrgId":"41c37e40-543d-43a2-b660-2fee83ea851a","state":"PUBLISHED","assignerShortName":"Pentraze","dateReserved":"2024-03-31T17:10:09.267Z","datePublished":"2024-04-09T23:55:43.501Z","dateUpdated":"2024-08-08T21:20:41.031Z"},"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","platforms":["Linux"],"product":"sngrep","vendor":"irontec","versions":[{"lessThanOrEqual":"1.8.0","status":"affected","version":"0.4.2","versionType":"semver"}]}],"datePublic":"2024-04-09T23:10:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"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.<br>"}],"value":"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.\n"}],"impacts":[{"capecId":"CAPEC-100","descriptions":[{"lang":"en","value":"CAPEC-100 Overflow Buffers"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-120","description":"CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"41c37e40-543d-43a2-b660-2fee83ea851a","shortName":"Pentraze","dateUpdated":"2024-04-09T23:55:43.501Z"},"references":[{"url":"https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f"},{"url":"https://github.com/irontec/sngrep/releases/tag/v1.8.1"},{"url":"https://pentraze.com/vulnerability-reports/"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Upgrade to sngrep version 1.8.1"}],"value":"Upgrade to sngrep version 1.8.1"}],"source":{"discovery":"UNKNOWN"},"title":"Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep","x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-01T19:32:42.915Z"},"title":"CVE Program Container","references":[{"url":"https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f","tags":["x_transferred"]},{"url":"https://github.com/irontec/sngrep/releases/tag/v1.8.1","tags":["x_transferred"]},{"url":"https://pentraze.com/vulnerability-reports/","tags":["x_transferred"]}]},{"affected":[{"vendor":"irontec","product":"sngrep","cpes":["cpe:2.3:a:irontec:sngrep:0.4.2:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0.4.2","status":"affected","lessThanOrEqual":"1.8.0","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-04-10T19:23:53.437651Z","id":"CVE-2024-3119","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-08-08T21:20:41.031Z"}}]}}