Bug 1826946 (CVE-2020-11958) - CVE-2020-11958 re2c: heap-based buffer overflow in Scanner::fill in parse/scanner.cc
Summary: CVE-2020-11958 re2c: heap-based buffer overflow in Scanner::fill in parse/sca...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2020-11958
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:
Blocks: 1826947
TreeView+ depends on / blocked
 
Reported: 2020-04-22 20:14 UTC by Guilherme de Almeida Suckevicz
Modified: 2024-03-20 10:29 UTC (History)
5 users (show)

Fixed In Version: re2c 2.0
Clone Of:
Environment:
Last Closed: 2020-04-23 04:31:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-04-22 20:14:20 UTC
re2c 1.3 has a heap-based buffer overflow in Scanner::fill in parse/scanner.cc via a long lexeme.

References:
https://www.openwall.com/lists/oss-security/2020/04/19/1
https://blogs.gentoo.org/ago/2020/04/19/re2c-heap-overflow-in-scannerfill-scanner-cc/

Upstream commit:
https://github.com/skvadrik/re2c/commit/c4603ba5ce229db83a2a4fb93e6d4b4e3ec3776a

Comment 1 Todd Cullum 2020-04-23 03:10:37 UTC
Statement:

This flaw was tested and does not affect any version of Red Hat Enterprise Linux. The vulnerable code was introduced in a version that is not in the Red Hat Enterprise Linux repositories.

Comment 2 Todd Cullum 2020-04-23 03:39:26 UTC
This vulnerability was introduced in the "preparations to support #include" commit in the upstream version re2c-1.3, and is not present in any versions of RHEL.

Comment 3 Product Security DevOps Team 2020-04-23 04:31:45 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-11958


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