CVE-2023-34104

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-34104
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-34104.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-34104
Aliases
Related
Published
2023-06-06T18:15:11Z
Modified
2025-01-08T15:01:29.892427Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

fast-xml-parser is an open source, pure javascript xml parser. fast-xml-parser allows special characters in entity names, which are not escaped or sanitized. Since the entity name is used for creating a regex for searching and replacing entities in the XML body, an attacker can abuse it for denial of service (DoS) attacks. By crafting an entity name that results in an intentionally bad performing regex and utilizing it in the entity replacement step of the parser, this can cause the parser to stall for an indefinite amount of time. This problem has been resolved in v4.2.4. Users are advised to upgrade. Users unable to upgrade should avoid using DOCTYPE parsing by setting the processEntities: false option.

References

Affected packages

Git / github.com/naturalintelligence/fast-xml-parser

Affected ranges

Type
GIT
Repo
https://github.com/naturalintelligence/fast-xml-parser
Events

Affected versions

2.*

2.9.3
2.9.4

3.*

3.0.0
3.10.0
3.12.16
3.12.20
3.12.5
3.13.0
3.14.0
3.16.0
3.17.1
3.17.5
3.18.0
3.19.0
3.2.0
3.4.0

v3.*

v3.15.0
v3.20.0
v3.20.1
v3.20.2
v3.20.3
v3.21.0
v3.21.1

v4.*

v4.0.0
v4.0.0-beta.0
v4.0.0-beta.2
v4.0.0-beta.3
v4.0.0-beta.4
v4.0.0-beta.5
v4.0.0-beta.6
v4.0.1
v4.0.10
v4.0.11
v4.0.12
v4.0.13
v4.0.14
v4.0.15
v4.0.2
v4.0.4
v4.0.5
v4.0.6
v4.0.7
v4.0.8
v4.0.9
v4.1.0
v4.1.1
v4.1.2
v4.1.3
v4.1.4
v4.2.0