CVE-2018-18385 Asciidoctor Infinite Loop vulnerability
HighCVSS 7.5
EPSS 2.3%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems asciidoctor(RubyGems) | < 1.5.8 | 1.5.8 |
| rubygems asciidoctor(RubyGems) | = 0.0.1 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 0.0.2 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 0.0.3 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 0.0.4 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 0.0.5 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 0.0.6 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 0.0.7 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 0.0.9 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 0.1.0 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 0.1.1 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 0.1.2 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 0.1.3 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 0.1.4 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 1.5.0 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 1.5.1 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 1.5.2 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 1.5.3 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 1.5.4 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 1.5.5 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 1.5.6 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 1.5.6.1 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 1.5.6.2 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 1.5.7 | No fix listed |
| rubygems asciidoctor(RubyGems) | = 1.5.7.1 | No fix listed |
Show 4 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/asciidoctor(Debian:12) | < 1.5.8-1 | 1.5.8-1 |
| debian/asciidoctor(Debian:13) | < 1.5.8-1 | 1.5.8-1 |
| debian/asciidoctor(Debian:14) | < 1.5.8-1 | 1.5.8-1 |
| asciidoctor | < 1.5.8 | 1.5.8 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit third-party-advisory
- github.com exploit
- github.com
- github.com product
- Debian Security Tracker CVE-2018-18385 vendor-advisory
- bugs.debian.org issue-tracking