CVE-2021-32825
bblfshd es un servidor de código abierto auto-alojado para el análisis de código fuente. En bblfshd versiones anteriores al commit 4265465b9b6fb5663c30ee43806126012066aad4 se presenta una vulnerabilidad "zipslip". El manejo no seguro de los enlaces simbólicos en una rutina de desempaquetado puede permitir a atacantes leer y/o escribir en ubicaciones arbitrarias fuera de la carpeta de destino designada.
Leer descripción completaMostrar menos
Este problema puede conllevar una escritura arbitraria en el archivo (con los mismos permisos que el programa que ejecuta la operación de desempaquetado) si el atacante puede controlar el archivo comprimido. Adicionalmente, si el atacante presenta acceso de lectura a los archivos desempaquetados, puede ser capaz de leer archivos arbitrario del sistema que el proceso parent presenta permisos para leer. Para mayor detalles, incluyendo un PoC, vea el GHSL-2020-258 referenciado.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Puntuación base: 9.1
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.92%
- Percentil entre todas las CVEs puntuadas: 59
- Fecha de la puntuación: 8/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-23
- CWE-59
Referencias
- https://github.com/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4
- https://github.com/bblfsh/bblfshd/pull/341
- https://securitylab.github.com/advisories/GHSL-2020-258-zipslip-bblfshd/
- https://github.com/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4
- https://github.com/bblfsh/bblfshd/pull/341
- https://securitylab.github.com/advisories/GHSL-2020-258-zipslip-bblfshd/
JSON original (NVD)
Mostrar
{
"id": "CVE-2021-32825",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 5.5,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:N",
"authentication": "SINGLE",
"integrityImpact": "PARTIAL",
"accessComplexity": "LOW",
"availabilityImpact": "NONE",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 4.9,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 8,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"cvssData": {
"scope": "CHANGED",
"version": "3.1",
"baseScore": 2.7,
"attackVector": "LOCAL",
"baseSeverity": "LOW",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N",
"integrityImpact": "NONE",
"userInteraction": "REQUIRED",
"attackComplexity": "HIGH",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "LOW"
},
"impactScore": 1.4,
"exploitabilityScore": 1
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 9.1,
"attackVector": "NETWORK",
"baseSeverity": "CRITICAL",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.2,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "security-advisories@github.com",
"affectedData": [
{
"vendor": "bblfsh",
"product": "bblfshd",
"versions": [
{
"status": "affected",
"version": "< 4265465b9b6fb5663c30ee43806126012066aad4"
}
]
}
]
}
],
"published": "2021-08-16T19:15:14.207",
"references": [
{
"url": "https://github.com/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4",
"tags": [
"Patch",
"Third Party Advisory"
],
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/bblfsh/bblfshd/pull/341",
"tags": [
"Patch",
"Third Party Advisory"
],
"source": "security-advisories@github.com"
},
{
"url": "https://securitylab.github.com/advisories/GHSL-2020-258-zipslip-bblfshd/",
"tags": [
"Exploit",
"Third Party Advisory"
],
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4",
"tags": [
"Patch",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/bblfsh/bblfshd/pull/341",
"tags": [
"Patch",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://securitylab.github.com/advisories/GHSL-2020-258-zipslip-bblfshd/",
"tags": [
"Exploit",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"description": [
{
"lang": "en",
"value": "CWE-23"
}
]
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-59"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "bblfshd is an open source self-hosted server for source code parsing. In bblfshd before commit 4265465b9b6fb5663c30ee43806126012066aad4 there is a \"zipslip\" vulnerability. The unsafe handling of symbolic links in an unpacking routine may enable attackers to read and/or write to arbitrary locations outside the designated target folder. This issue may lead to arbitrary file write (with same permissions as the program running the unpack operation) if the attacker can control the archive file. Additionally, if the attacker has read access to the unpacked files, he may be able to read arbitrary system files the parent process has permissions to read. For more details including a PoC see the referenced GHSL-2020-258."
},
{
"lang": "es",
"value": "bblfshd es un servidor de código abierto auto-alojado para el análisis de código fuente. En bblfshd versiones anteriores al commit 4265465b9b6fb5663c30ee43806126012066aad4 se presenta una vulnerabilidad \"zipslip\". El manejo no seguro de los enlaces simbólicos en una rutina de desempaquetado puede permitir a atacantes leer y/o escribir en ubicaciones arbitrarias fuera de la carpeta de destino designada. Este problema puede conllevar una escritura arbitraria en el archivo (con los mismos permisos que el programa que ejecuta la operación de desempaquetado) si el atacante puede controlar el archivo comprimido. Adicionalmente, si el atacante presenta acceso de lectura a los archivos desempaquetados, puede ser capaz de leer archivos arbitrario del sistema que el proceso parent presenta permisos para leer. Para mayor detalles, incluyendo un PoC, vea el GHSL-2020-258 referenciado."
}
],
"lastModified": "2026-06-17T03:53:42.477",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:bblfshd_project:bblfshd:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "91C61354-2EC3-415C-9AAB-97896DF238FD",
"versionEndExcluding": "2021-08-11"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "security-advisories@github.com"
}