{ "id": "CVE-2024-3120", "sourceIdentifier": "41c37e40-543d-43a2-b660-2fee83ea851a", "published": "2024-04-10T00:15:12.340", "lastModified": "2025-02-03T17:44:43.883", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [ { "lang": "en", "value": "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\u00a0messages." }, { "lang": "es", "value": "Existe una vulnerabilidad de desbordamiento de b\u00fafer en la regi\u00f3n stack de la memoria en todas las versiones de sngrep desde la v1.4.1. La falla se debe a una verificaci\u00f3n inadecuada de los l\u00edmites al copiar los encabezados 'Content-Length' y 'Warning' en b\u00faferes de tama\u00f1o fijo en las funciones sip_validate_packet y sip_parse_extra_headers dentro de src/sip.c. Esta vulnerabilidad permite a atacantes remotos ejecutar c\u00f3digo arbitrario o provocar una denegaci\u00f3n de servicio (DoS) a trav\u00e9s de mensajes SIP 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": "1.4.1", "versionEndExcluding": "1.8.1", "matchCriteriaId": "AB9E6B8B-AB71-4329-BB01-AFA9999A3B82" } ] } ] } ], "references": [ { "url": "https://github.com/irontec/sngrep/pull/480/commits/f229a5d31b0be6a6cc3ab4cd9bfa4a1b5c5714c6", "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/f229a5d31b0be6a6cc3ab4cd9bfa4a1b5c5714c6", "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" ] } ] }