CVE-2018-18385
Last modified
CVE-2018-18385 is a vulnerability of currently unknown severity. 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. EPSS estimates a 2.25% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Asciidoctor | Asciidoctor | < 1.5.8 |
References
- https://github.com/asciidoctor/asciidoctor/issues/2888Exploit, Third Party Advisory
- https://github.com/asciidoctor/asciidoctor/issues/2888Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-18385?
How severe is CVE-2018-18385?
How do I fix CVE-2018-18385?
Are you affected by CVE-2018-18385?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
