Bug 2322188

Summary: CVE-2024-50614 tinyxml2: reachable assertion in GetCharacterRef() [epel-9]
Product: [Fedora] Fedora EPEL Reporter: Robb Gatica <rgatica>
Component: tinyxml2Assignee: Ben Beasley <code>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: epel9CC: code, dominik, igor.raits, logans, richmattes
Target Milestone: ---Keywords: Reopened, Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/leethomason/tinyxml2/issues/996
Whiteboard: {"flaws": ["173232ed-6148-4474-a4c2-51ddc20aa46d"]}
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-08-15 17:17:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2322054    

Description Robb Gatica 2024-10-28 19:35:16 UTC
More information about this security flaw is available in the following bug:

https://bugzilla.redhat.com/show_bug.cgi?id=2322054

Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Comment 2 Fedora Admin user for bugzilla script actions 2025-08-15 13:48:16 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 3 Ben Beasley 2025-08-15 16:03:53 UTC
I asked upstream for input in https://github.com/leethomason/tinyxml2/issues/996#issuecomment-3192009888. I’ll work on shipping the probable fix https://github.com/leethomason/tinyxml2/commit/494735de30c946bc7d684c65ff8ece05beeb232d in EPEL10 and Fedora 42+. I do not yet know if it will be practical to backport the probable fix to tinyxml2 9.0.0 in F41 and EPEL9.

Comment 4 Ben Beasley 2025-08-15 17:17:32 UTC
It looks like 10.1.0 accidentally changed ABI without bumping the SONAME version[1], so the way forward will be to go straight to 11.0.0 (bug 2350891) in F43+. That at least fixes CVE-2024-50615; hopefully it fixes CVE-2024-50614 as well.

I don’t think I will be able to invest the time to try to backport the fix to 10.0.0 or to 9.0.0 without breaking ABI, so F42, F41, EPEL10, and EPEL9 will have to remain as they are. PR’s are welcome, if someone turns out to be more invested in this than I am.

[1] https://github.com/leethomason/tinyxml2/issues/1018