CVE-2021-42260 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.
HighCVSS 7.5
EPSS 3.4%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
13 packages: 12 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/tinyxml(Alpine v3.20) | >= 2.3.2, < 2.6.2-r2 | 2.6.2-r2 | Fixed |
| alpine/tinyxml(Alpine v3.21) | >= 2.3.2, < 2.6.2-r2 | 2.6.2-r2 | Fixed |
| alpine/tinyxml(Alpine v3.22) | >= 2.3.2, < 2.6.2-r2 | 2.6.2-r2 | Fixed |
| alpine/tinyxml(Alpine v3.23) | >= 2.3.2, < 2.6.2-r2 | 2.6.2-r2 | Fixed |
| alpine/tinyxml(Alpine v3.24) | >= 2.3.2, < 2.6.2-r2 | 2.6.2-r2 | Fixed |
| debian/tinyxml(Debian 12) | < 2.6.2-6 | 2.6.2-6 | Fixed |
| debian/tinyxml(Debian 13) | < 2.6.2-6 | 2.6.2-6 | Fixed |
| debian/tinyxml(Debian 14) | < 2.6.2-6 | 2.6.2-6 | Fixed |
| tinyxml project tinyxml | = 2.3.0-beta; = 2.3.1-beta; >= 2.3.2, <= 2.6.2 | after 2.6.2 | Fixed |
| ubuntu/tinyxml(Ubuntu 20.04) | < 2.6.2-4+deb10u1build0.20.04.1; = 2.6.2-4; = 2.6.2-4build1 | 2.6.2-4+deb10u1build0.20.04.1 | Fixed |
| ubuntu/tinyxml(Ubuntu Pro 16.04) | < 2.6.2-3ubuntu0.1~esm1; = 2.6.2-3 | 2.6.2-3ubuntu0.1~esm1 | Fixed |
| ubuntu/tinyxml(Ubuntu Pro 18.04) | < 2.6.2-4ubuntu0.18.04.1~esm1; = 2.6.2-4 | 2.6.2-4ubuntu0.18.04.1~esm1 | Fixed |
| debian linux | = 9.0; = 10.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/tinyxml(Debian:12) | < 2.6.2-6 | 2.6.2-6 |
| debian/tinyxml(Debian:13) | < 2.6.2-6 | 2.6.2-6 |
| debian/tinyxml(Debian:14) | < 2.6.2-6 | 2.6.2-6 |
| tinyxml project tinyxml | >= 2.3.2, <= 2.6.2 | No fix listed |
| tinyxml project tinyxml | = 2.3.0-beta | No fix listed |
| tinyxml project tinyxml | = 2.3.1-beta | No fix listed |
| debian linux | = 9.0 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| alpine/tinyxml(Alpine:v3.20) | >= 2.3.2, < 2.6.2-r2 | 2.6.2-r2 |
| alpine/tinyxml(Alpine:v3.21) | >= 2.3.2, < 2.6.2-r2 | 2.6.2-r2 |
| alpine/tinyxml(Alpine:v3.22) | >= 2.3.2, < 2.6.2-r2 | 2.6.2-r2 |
| alpine/tinyxml(Alpine:v3.23) | >= 2.3.2, < 2.6.2-r2 | 2.6.2-r2 |
| alpine/tinyxml(Alpine:v3.24) | >= 2.3.2, < 2.6.2-r2 | 2.6.2-r2 |
| ubuntu/tinyxml(Ubuntu:Pro:16.04) | < 2.6.2-3ubuntu0.1~esm1 | 2.6.2-3ubuntu0.1~esm1 |
| ubuntu/tinyxml(Ubuntu:Pro:16.04) | = 2.6.2-3 | No fix listed |
| ubuntu/tinyxml(Ubuntu:Pro:18.04) | < 2.6.2-4ubuntu0.18.04.1~esm1 | 2.6.2-4ubuntu0.18.04.1~esm1 |
| ubuntu/tinyxml(Ubuntu:Pro:18.04) | = 2.6.2-4 | No fix listed |
| ubuntu/tinyxml(Ubuntu:20.04) | < 2.6.2-4+deb10u1build0.20.04.1 | 2.6.2-4+deb10u1build0.20.04.1 |
| ubuntu/tinyxml(Ubuntu:20.04) | = 2.6.2-4 | No fix listed |
| ubuntu/tinyxml(Ubuntu:20.04) | = 2.6.2-4build1 | No fix listed |
References
- Debian Security Tracker CVE-2021-42260 vendor-advisory
- [debian-lts-announce] 20220430 [SECURITY] [DLA 2988-1] tinyxml security update mailing-list third-party-advisory
- [debian-lts-announce] 20220930 [SECURITY] [DLA 3130-1] tinyxml security update mailing-list third-party-advisory
- FEDORA-2024-80e6578a01 vendor-advisory
- FEDORA-2024-c9dc0ac419 vendor-advisory
- sourceforge.net exploit issue-tracking third-party-advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.alpinelinux.org vendor-advisory
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking