CVE-2018-18385

    Dashboard / Vulnerabilities / CVE-2018-18385

    CVE-2018-18385

    Published: 16 Oct 2018Last Modified: 20 Oct 2026

    Summary:

    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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v1.5.7
    v1.5.6.1
    v1.5.6
    v1.5.5
    v1.5.4
    v1.5.3
    v1.5.2
    v1.5.1
    v1.5.0
    v1.5.0.rc.6
    v1.5.0.rc.5
    v1.5.0.rc.4
    v1.5.0.rc.3
    v1.5.0.rc.2
    v1.5.0.rc.1
    v1.5.0.preview.8
    v1.5.0.preview.7
    v1.5.0.preview.6
    v1.5.0.preview.5
    v1.5.0.pre.preview.5
    v1.5.0.preview4
    v1.5.0.preview3
    v1.5.0.preview.2
    v1.5.0.preview.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High