PT-2018-3981 · Asciidoctor · Asciidoctor
Zelivans
·
Published
2018-09-26
·
Updated
2022-05-13
·
CVE-2018-18385
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
Asciidoctor versions prior to 1.5.8
Description
The issue allows remote attackers to cause a denial of service, resulting in an infinite loop. This loop occurs because
Parser.next block does not exhaust all lines in the reader as expected, due to a disagreement between regular expressions detecting any list and those detecting a specific list type, causing lines to be pushed back onto the reader.Recommendations
For versions prior to 1.5.8, update to version 1.5.8 or later to resolve the issue.
As a temporary workaround, consider disabling the
Parser.next block function until a patch is available.Exploit
Fix
DoS
Infinite Loop
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Asciidoctor