CVE-2021-36159Freebsd Libfetch
Crítica 9.1 Sin autenticación
Seguir: esta CVE · Freebsd · Freebsd Libfetch Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 3.1
- 9.1
- EPSS
- 2.6% probabilidad de explotación en 30 días · percentil 86
- Requiere autenticación
- No
- Publicada
- 3 ago 2021
- Actualizada
- 17 jun 2026
- Categoría
- Sistema operativo · Multiplataforma
- Debilidad (CWE)
- CWE-125
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Qué pasa
libfetch before 2021-07-26, as used in apk-tools, xbps, and other products, mishandles numeric strings for the FTP and HTTP protocols. The FTP passive mode implementation allows an out-of-bounds read because strtol is used to parse the relevant numbers into address bytes. It does not check if the line ends prematurely. If it does, the for-loop condition checks for the '\0' terminator one byte too late.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Libfetch.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| freebsd | libfetch | < 2021-07-26 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- gitlab.alpinelinux.org Exploit Third Party Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org