CVE-2018-18385

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.
Infinite Loop
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 69%
VendorProductVersion
asciidoctorasciidoctor
𝑥
< 1.5.8
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
asciidoctor
bullseye
2.0.12-2
fixed
stretch
no-dsa
jessie
no-dsa
bookworm
2.0.18-2
fixed
sid
2.0.23-1
fixed
trixie
2.0.23-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
asciidoctor
noble
not-affected
mantic
not-affected
lunar
not-affected
kinetic
not-affected
jammy
not-affected
impish
not-affected
hirsute
not-affected
groovy
not-affected
focal
not-affected
eoan
not-affected
disco
not-affected
cosmic
ignored
bionic
needed
xenial
needed
trusty
dne