Loop with Unreachable Exit Condition ('Infinite Loop') Affecting tinyxml package, versions <2.6.2-r1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.36% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-TINYXML-5887501
  • published7 Sept 2023
  • disclosed11 Oct 2021

Introduced: 11 Oct 2021

CVE-2021-42260  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Wolfi tinyxml to version 2.6.2-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tinyxml package and not the tinyxml package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1