Skip to main content
← All vulnerabilities
CVE-2018-18385GHSA-QC9P-MJXM-J2WJ

Asciidoctor in versions < 1.5.8 allows remote attackers to cause a denial of service (infinite loop).

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.5.8
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • asciidoctorRubyGems

    fixed in 1.5.8

References 1

GitHub · asciidoctor/asciidoctor