CVE-2018-18385

UnknownEPSS 2.25%

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

EPSS Probability
2.25%

80.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
AsciidoctorAsciidoctor< 1.5.8

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2018-18385?
Severity scoring for CVE-2018-18385 is pending analysis. The EPSS model estimates a 2.25% probability of exploitation in the next 30 days.
How do I fix CVE-2018-18385?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-18385?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST