CVE-2023-28096
OpenSIPS, una implementación de servidor del Protocolo de Inicio de Sesión (SIP, por sus siglas en inglés), presenta una fuga de memoria desde la rama 2.3 y anteriores a las versiones 3.1.8 y 3.2.5. La fuga de memoria se detectó en la función `parse_mi_request` mientras se realizaba fuzzing guiado por cobertura. Este problema puede reproducirse enviando múltiples solicitudes con la forma `{"jsonrpc": "2.0","method": "log_le`. Este mensaje malformado se probó contra una instancia de OpenSIPS a través de la capa de transporte FIFO y se comprobó que aumentaba el consumo de memoria con el tiempo.
Para aprovechar esta fuga de memoria, los atacantes necesitan acceder a la interfaz de gestión (MI), que normalmente solo debería estar expuesta en interfaces de confianza.
Leer descripción completaMostrar menos
En los casos en que la MI está expuesta a Internet sin autenticación, la explotación de este problema provocará el agotamiento de memoria, lo que puede afectar a la disponibilidad del sistema subyacente. Normalmente no se requiere autenticación para reproducir este problema. Por otro lado, pueden producirse fugas de memoria en otras áreas de OpenSIPS donde se utiliza la biblioteca cJSON para analizar objetos JSON.
El problema se ha corregido en las versiones 3.1.8 y 3.2.5.
Traducción automática del texto original de NVD (en inglés).
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Puntuación base: 7.5
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.77%
- Percentil entre todas las CVEs puntuadas: 54
- Fecha de la puntuación: 13/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
CWE
- CWE-401
Referencias
- https://github.com/OpenSIPS/opensips/commit/417568707520af25ec5c5dd91da18e6db3649dcb
- https://github.com/OpenSIPS/opensips/security/advisories/GHSA-2mg2-g46r-j4qr
- https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf
- https://github.com/OpenSIPS/opensips/commit/417568707520af25ec5c5dd91da18e6db3649dcb
- https://github.com/OpenSIPS/opensips/security/advisories/GHSA-2mg2-g46r-j4qr
- https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf
JSON original (NVD)
Mostrar
{
"id": "CVE-2023-28096",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2023-28096",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-02-25T14:29:39.580143Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 4.5,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "HIGH",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 0.9
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "security-advisories@github.com",
"affectedData": [
{
"vendor": "OpenSIPS",
"product": "opensips",
"versions": [
{
"status": "affected",
"version": ">= 2.3.0, < 3.1.8"
},
{
"status": "affected",
"version": ">= 3.2.0, < 3.2.5"
}
]
}
]
}
],
"published": "2023-03-15T22:15:10.527",
"references": [
{
"url": "https://github.com/OpenSIPS/opensips/commit/417568707520af25ec5c5dd91da18e6db3649dcb",
"tags": [
"Patch",
"Third Party Advisory"
],
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/OpenSIPS/opensips/security/advisories/GHSA-2mg2-g46r-j4qr",
"tags": [
"Third Party Advisory"
],
"source": "security-advisories@github.com"
},
{
"url": "https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf",
"tags": [
"Vendor Advisory"
],
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/OpenSIPS/opensips/commit/417568707520af25ec5c5dd91da18e6db3649dcb",
"tags": [
"Patch",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/OpenSIPS/opensips/security/advisories/GHSA-2mg2-g46r-j4qr",
"tags": [
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"description": [
{
"lang": "en",
"value": "CWE-401"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "OpenSIPS, a Session Initiation Protocol (SIP) server implementation, has a memory leak starting in the 2.3 branch and priot to versions 3.1.8 and 3.2.5. The memory leak was detected in the function `parse_mi_request` while performing coverage-guided fuzzing. This issue can be reproduced by sending multiple requests of the form `{\"jsonrpc\": \"2.0\",\"method\": \"log_le`. This malformed message was tested against an instance of OpenSIPS via FIFO transport layer and was found to increase the memory consumption over time.\n\nTo abuse this memory leak, attackers need to reach the management interface (MI) which typically should only be exposed on trusted interfaces. In cases where the MI is exposed to the internet without authentication, abuse of this issue will lead to memory exhaustion which may affect the underlying system’s availability. No authentication is typically required to reproduce this issue. On the other hand, memory leaks may occur in other areas of OpenSIPS where the cJSON library is used for parsing JSON objects.\n\nThe issue has been fixed in versions 3.1.8 and 3.2.5."
}
],
"lastModified": "2026-06-17T05:46:51.723",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "BC3084E2-3D4E-4C9F-8830-213591FC1DB0",
"versionEndExcluding": "3.1.8"
},
{
"criteria": "cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "272511B0-B141-4AD0-A4FC-51A5EEC59D97",
"versionEndExcluding": "3.2.5",
"versionStartIncluding": "3.2.0"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "security-advisories@github.com"
}