CVE-2018-18385Asciidoctor
Alta 7.5 Sin autenticación
Seguir: esta CVE · Asciidoctor · Asciidoctor Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.0
- 7.5
- EPSS
- 2.2% probabilidad de explotación en 30 días · percentil 84
- Requiere autenticación
- No
- Publicada
- 16 oct 2018
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-835
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
Asciidoctor in versions < 1.5.8 allows remote attackers to cause a denial of service (infinite loop). The loop was caused by the fact that Parser.next_block was not exhausting all the lines in the reader as the while loop expected it would. This was happening because the regular expression that detects any list was not agreeing with the regular expression that detects a specific list type. So the line kept getting pushed back onto the reader, hence causing the loop.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Asciidoctor.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| RubyGems | asciidoctor |
< 1.5.8 |
1.5.8 |
gem "asciidoctor", ">= 1.5.8" |
Según OSV / GitHub Advisories (GHSA-qc9p-mjxm-j2wj). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| asciidoctor | asciidoctor | < 1.5.8 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Exploit Third Party Advisory