CVE-2021-3749: Inefficient Regular Expression Complexity in axios/axios

Published Aug 31, 2021
·
Updated

A Regular Expression Denial of Service (ReDoS) vulnerability was found in the nodejs axios. This flaw allows an attacker to provide crafted input to the trim function, which might cause high resources consumption and as a consequence lead to denial of service. The highest threat from this vulnerability is system availability.

Other sources

axios before v0.21.2 is vulnerable to Inefficient Regular Expression Complexity.

GitHub

axios is vulnerable to a denial of service, caused by a regular expression denial of service (ReDoS) flaw in the trim function. By sending a specially-crafted regex input, a remote attacker could exploit this vulnerability to cause an application to consume an excessive amount of CPU.

IBM

axios is vulnerable to Inefficient Regular Expression Complexity

Affected Software

10 affected componentsFixes available
redhat/kiali<0:v1.24.7.redhat1-1.el8
0:v1.24.7.redhat1-1.el8
redhat/axios<0.21.2
0.21.2
npm/axios<0.21.2
0.21.2
Axios Axios Node.js<=0.21.1
Siemens Sinec Ins<1.0
Siemens Sinec Ins=1.0
Siemens Sinec Ins=1.0-sp1
Oracle GoldenGate>=21.1<21.7.0.0.0
IBM Cognos Analytics<=11.2.0 - 11.2.2
IBM Cognos Analytics<=11.1.0 - 11.1.6 FP4

Event History

Aug 31, 2021
CVE Published
12:00 AM
CVE Published
via MITRE·10:36 AM
Data Sourced
via MITRE·10:36 AM
DescriptionSeverityWeakness
Sep 1, 2021
Advisory Published
via GitHub·06:23 PM
Feb 23, 2026
Data Sourced
via IBM·11:32 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-3749?

CVE-2021-3749 is a vulnerability in nodejs axios that allows an attacker to cause a denial of service through a Regular Expression Denial of Service (ReDoS) attack.

2

How does CVE-2021-3749 work?

CVE-2021-3749 works by allowing an attacker to provide crafted input to the trim function in axios, which can cause high resource consumption and lead to a denial of service.

3

What is the severity of CVE-2021-3749?

CVE-2021-3749 has a severity rating of 7.5, which is considered high.

4

Is there a fix available for CVE-2021-3749?

Yes, a fix for CVE-2021-3749 is available in axios version 0.21.2.

5

Where can I find more information about CVE-2021-3749?

More information about CVE-2021-3749 can be found on the GitHub commit and the Red Hat Security Advisory listed in the references.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203