Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 770763 (CVE-2018-1311, CVE-2023-23807)

Summary: dev-libs/xerces-c: XML parser contains a use-after-free error triggered during the scanning of external DTDs
Product: Gentoo Security Reporter: Andreas Sturmlechner <asturm>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: CONFIRMED ---    
Severity: minor CC: ajak, maintainer-needed
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1311
See Also: https://github.com/apache/xerces-c/pull/47
https://issues.apache.org/jira/browse/XERCESC-2188
Whiteboard: B3 [upstream/ebuild]
Package list:
Runtime testing required: ---

Description Andreas Sturmlechner gentoo-dev 2021-02-15 09:25:55 UTC
See also: https://issues.apache.org/jira/browse/XERCESC-2188
https://salsa.debian.org/bblough/xerces-c/-/blob/debian/master/debian/patches/CVE-2018-1311-mitigation.patch

At least Debian and RHEL6-7 seem to apply the non-upstream patch, with Fedora seemingly unsure.
Comment 1 NATTkA bot gentoo-dev 2021-07-29 17:24:05 UTC Comment hidden (obsolete)
Comment 2 NATTkA bot gentoo-dev 2021-07-29 17:32:32 UTC Comment hidden (obsolete)
Comment 3 NATTkA bot gentoo-dev 2021-07-29 17:40:26 UTC Comment hidden (obsolete)
Comment 4 NATTkA bot gentoo-dev 2021-07-29 17:48:35 UTC Comment hidden (obsolete)
Comment 5 NATTkA bot gentoo-dev 2021-07-29 18:04:32 UTC Comment hidden (obsolete)
Comment 6 NATTkA bot gentoo-dev 2021-07-29 18:12:49 UTC
Package list is empty or all packages have requested keywords.
Comment 7 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-11-16 15:45:32 UTC
There's an apparently leaky fix here: https://issues.apache.org/jira/browse/XERCESC-2188
Comment 8 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2024-02-19 00:11:46 UTC
And there appears to be a better fix here, with a new CVE and advisory: https://github.com/apache/xerces-c/pull/54

https://www.openwall.com/lists/oss-security/2024/02/16/1