GHSA-qc9p-mjxm-j2wj

Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-qc9p-mjxm-j2wj/GHSA-qc9p-mjxm-j2wj.json
Aliases
  • CVE-2018-18385
Published
2022-05-13T01:50:40Z
Modified
2023-01-31T02:40:21.771813Z
Details

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.

References

Affected packages

RubyGems / asciidoctor

asciidoctor

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0
Fixed
1.5.8

Affected versions

0.*

0.0.1
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.9
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4

1.*

1.5.0
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
1.5.6
1.5.6.1
1.5.6.2
1.5.7
1.5.7.1