CVE-2021-3749: Inefficient Regular Expression Complexity in axios/axios
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
Remediation
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
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.
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.
What is the severity of CVE-2021-3749?
CVE-2021-3749 has a severity rating of 7.5, which is considered high.
Is there a fix available for CVE-2021-3749?
Yes, a fix for CVE-2021-3749 is available in axios version 0.21.2.
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.