CVE-2018-18385 – asciidoctor
Package
Manager: gem
Name: asciidoctor
Vulnerable Version: >=0 <1.5.8
Severity
Level: High
CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00701 pctl0.71127
Details
Asciidoctor Infinite Loop vulnerability 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.
Metadata
Created: 2022-05-13T01:50:40Z
Modified: 2023-01-24T18:32:26Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-qc9p-mjxm-j2wj/GHSA-qc9p-mjxm-j2wj.json
CWE IDs: ["CWE-835"]
Alternative ID: GHSA-qc9p-mjxm-j2wj
Finding: F138
Auto approve: 1