{ "id": "CVE-2024-3119", "sourceIdentifier": "41c37e40-543d-43a2-b660-2fee83ea851a", "published": "2024-04-10T00:15:12.107", "lastModified": "2025-02-03T17:43:02.523", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [ { "lang": "en", "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" }, { "lang": "es", "value": "Existe una vulnerabilidad de desbordamiento del b\u00fafer en todas las versiones de sngrep desde la v0.4.2, debido al manejo inadecuado de los encabezados SIP 'Call-ID' y 'X-Call-ID'. Las funciones sip_get_callid y sip_get_xcallid en sip.c usan la funci\u00f3n strncpy para copiar el contenido del encabezado en buffers de tama\u00f1o fijo sin verificar la longitud de los datos. Esta falla permite a atacantes remotos ejecutar c\u00f3digo arbitrario o provocar una denegaci\u00f3n de servicio (DoS) a trav\u00e9s de mensajes SIP especialmente manipulados." } ], "metrics": { "cvssMetricV31": [ { "source": "41c37e40-543d-43a2-b660-2fee83ea851a", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH" }, "exploitabilityScore": 2.2, "impactScore": 6.0 }, { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH" }, "exploitabilityScore": 3.9, "impactScore": 5.9 } ] }, "weaknesses": [ { "source": "41c37e40-543d-43a2-b660-2fee83ea851a", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-120" } ] }, { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-787" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*", "versionStartIncluding": "0.4.2", "versionEndExcluding": "1.8.1", "matchCriteriaId": "D0F03779-22C5-4146-AC72-7B5B1D8D008E" } ] } ] } ], "references": [ { "url": "https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f", "source": "41c37e40-543d-43a2-b660-2fee83ea851a", "tags": [ "Patch" ] }, { "url": "https://github.com/irontec/sngrep/releases/tag/v1.8.1", "source": "41c37e40-543d-43a2-b660-2fee83ea851a", "tags": [ "Release Notes" ] }, { "url": "https://pentraze.com/vulnerability-reports/", "source": "41c37e40-543d-43a2-b660-2fee83ea851a", "tags": [ "Third Party Advisory" ] }, { "url": "https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Patch" ] }, { "url": "https://github.com/irontec/sngrep/releases/tag/v1.8.1", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Release Notes" ] }, { "url": "https://pentraze.com/vulnerability-reports/", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory" ] } ] }