Bug 1640723 (CVE-2018-18385) - CVE-2018-18385 rubygem-asciidoctor: Infinite loop in the #next_block method
Summary: CVE-2018-18385 rubygem-asciidoctor: Infinite loop in the #next_block method
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2018-18385
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1640728 1640727
Blocks: 1640729
TreeView+ depends on / blocked
 
Reported: 2018-10-18 15:12 UTC by Andrej Nemec
Modified: 2021-02-16 22:54 UTC (History)
10 users (show)

Fixed In Version: rubygem-asciidoctor 1.5.8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:40:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2018-10-18 15:12:23 UTC
Asciidoctor allows remote attackers to cause a denial of service (infinite loop), as demonstrated by web applications that deliver untrusted input to this product, because Parser#next_block misuses a "while true" statement.

Upstream issue:

https://github.com/asciidoctor/asciidoctor/issues/2888

Comment 1 Andrej Nemec 2018-10-18 15:13:57 UTC
Created rubygem-asciidoctor tracking bugs for this issue:

Affects: epel-7 [bug 1640728]
Affects: fedora-all [bug 1640727]

Comment 2 Doran Moppert 2018-10-22 02:25:59 UTC
Statement:

The version of rubygem-asciidoctor included in Red Hat Virtualization is affected by this flaw, however it is not exposed to user input in such a way that the vulnerability could be exploited by an attacker.

Comment 3 Dan Allen 2018-10-22 07:02:28 UTC
A fix is now available upstream. The fix is in master at the time of this comment and will be included in the upcoming 1.5.8 release.


Note You need to log in before you can comment on or make changes to this bug.