Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Asciidoctor | Asciidoctor | < 1.5.8 |
Related Weaknesses (CWE)
References
- https://github.com/asciidoctor/asciidoctor/issues/2888ExploitThird Party Advisory
- https://github.com/asciidoctor/asciidoctor/issues/2888ExploitThird Party Advisory
FAQ
What is CVE-2018-18385?
CVE-2018-18385 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 rea...
How severe is CVE-2018-18385?
CVE-2018-18385 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-18385?
Check the references section above for vendor advisories and patch information. Affected products include: Asciidoctor Asciidoctor.