7.5
CWE
1333 400
Advisory Published
CVE Published
Updated

CVE-2023-34104: Regex Injection via Doctype Entities

First published: Tue Jun 06 2023(Updated: )

### Impact "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 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. ### Patches The problem has been resolved in v4.2.4 ### Workarounds Avoid using DOCTYPE parsing by `processEntities: false` option.

Credit: security-advisories@github.com security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Fast-xml-parser Project Fast-xml-parser<4.2.4
IBM Cloud Pak for Security<=1.10.0.0 - 1.10.11.0
IBM QRadar Suite Software<=1.10.12.0 - 1.10.16.0
redhat/fast-xml-parser<4.2.4
4.2.4
npm/fast-xml-parser>=4.1.3<4.2.4
4.2.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the vulnerability ID?

    The vulnerability ID is CVE-2023-34104.

  • What is the severity of CVE-2023-34104?

    The severity of CVE-2023-34104 is high with a CVSS score of 7.5.

  • How does the vulnerability in fast-xml-parser affect the software?

    The vulnerability in fast-xml-parser allows for a denial of service attack caused by a regular expression denial of service (ReDoS) vulnerability.

  • Which versions of fast-xml-parser are affected?

    Versions up to but excluding 4.2.4 of fast-xml-parser are affected.

  • How can I fix the vulnerability in fast-xml-parser?

    To fix the vulnerability in fast-xml-parser, update to version 4.2.4 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203