Vulnerability · Published Oct 11, 2021 · Assigned by mitre
CVE-2021-42260
High 7.5
In plain English
A high-severity security flaw in the tinyxml package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.4% (higher than 89% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)3.4%top 11.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official description
TinyXML through 2.6.2 has an infinite loop in TiXmlParsingData::Stamp in tinyxmlparser.cpp via the TIXML_UTF_LEAD_0 case. It can be triggered by a crafted XML message and leads to a denial of service.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | tinyxml | 2.6.2-r2 | ALPINE-CVE-2021-42260 |
| Alpine:v3.21 | tinyxml | 2.6.2-r2 | ALPINE-CVE-2021-42260 |
| Alpine:v3.22 | tinyxml | 2.6.2-r2 | ALPINE-CVE-2021-42260 |
| Alpine:v3.23 | tinyxml | 2.6.2-r2 | ALPINE-CVE-2021-42260 |
| Alpine:v3.24 | tinyxml | 2.6.2-r2 | ALPINE-CVE-2021-42260 |
| Debian:12 | tinyxml | 2.6.2-6 | DEBIAN-CVE-2021-42260 |
| Debian:13 | tinyxml | 2.6.2-6 | DEBIAN-CVE-2021-42260 |
| Debian:14 | tinyxml | 2.6.2-6 | DEBIAN-CVE-2021-42260 |
Affected products (as reported)
References
- https://sourceforge.net/p/tinyxml/bugs/141/
- [debian-lts-announce] 20220430 [SECURITY] [DLA 2988-1] tinyxml security update mailing-list
- [debian-lts-announce] 20220930 [SECURITY] [DLA 3130-1] tinyxml security update mailing-list
- FEDORA-2024-80e6578a01 vendor-advisory
- FEDORA-2024-c9dc0ac419 vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HOMBSHRIW5Q34SQSXYURYAOYDZD2NQF6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4QCR5PIOBGDIDS6SYRESTMDJSEDFSCOE/