{"id":"CVE-2021-3749","published":"2021-08-31T10:36:43Z","modified":"2024-08-03T17:09:08Z","title":"Inefficient Regular Expression Complexity in axios/axios","vendor":"axios","product":"axios/axios","tier":"tail","description":{"text":"axios is vulnerable to Inefficient Regular Expression Complexity","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.08515,"percentile":0.95169,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://huntr.dev/bounties/1e8f07fc-c384-4ff9-8498-0690de2e8c31","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/axios/axios/commit/5b457116e31db0e88fede6c428e969e87f290929","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/r7324ecc35b8027a51cb6ed629490fcd3b2d7cf01c424746ed5744bf1%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rfc5c478053ff808671aef170f3d9fc9d05cc1fab8fb64431edc66103%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r216f0fd0a3833856d6a6a1fada488cadba45f447d87010024328ccf2%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r3ae6d2654f92c5851bdb73b35e96b0e4e3da39f28ac7a1b15ae3aab8%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/ra15d63c54dc6474b29f72ae4324bcb03038758545b3ab800845de7a1%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r74d0b359408fff31f87445261f0ee13bdfcac7d66f6b8e846face321%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rc263bfc5b53afcb7e849605478d73f5556eb0c00d1f912084e407289%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r4bf1b32983f50be00f9752214c1b53738b621be1c2b0dbd68c7f2391%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r075d464dce95cd13c03ff9384658edcccd5ab2983b82bfc72b62bb10%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rfa094029c959da0f7c8cd7dc9c4e59d21b03457bf0cedf6c93e1bb0a%40%3Cdev.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf","tags":["x_refsource_CONFIRM"]}],"priority":{"score":29.3,"factors":[{"name":"EPSS percentile","points":19.03},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2022-06-12","earliestUrl":"https://github.com/T-Guerrero/axios-redos","repos":[{"name":"T-Guerrero/axios-redos","url":"https://github.com/T-Guerrero/axios-redos","stars":0,"created":"2022-06-12"}]},"first":{"date":"2022-06-12","source":"PoC-in-GitHub","url":"https://github.com/T-Guerrero/axios-redos"},"provenance":"source"},"vendorSlug":"axios","affectedVersions":[{"vendor":"axios","product":"axios/axios","versions":[">= unspecified, <= 0.21.1"]}],"affected":[{"ecosystem":"npm","package":"axios","vulnerableRanges":["<0.21.2"],"patched":["0.21.2"],"from":["GHSA-cph5-m8f7-6c5x"],"provenance":"source"}],"summary":{"text":"The axios/axios HTTP client library contains an inefficient regular expression complexity flaw (a ReDoS condition) in its code. An unauthenticated remote attacker with network access can send crafted input that makes the library consume excessive processing time, degrading availability, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:37:28Z"},"euvd":{"id":"EUVD-2021-2040","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-10742","published":"2019-05-07","fixed":"0.18.1","kev":false},{"cve":"CVE-2020-28168","published":"2020-11-06","fixed":"0.21.1","kev":false,"link":{"from":"CVE-2020-28168","to":"CVE-2021-3749","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:axios","fromFixed":"0.21.1","toFixed":"0.21.2","daysApart":298}]}},{"cve":"CVE-2021-3749","published":"2021-08-31","fixed":"0.21.2","kev":false},{"cve":"CVE-2023-45857","published":"2023-11-08","fixed":"1.6.0","kev":false},{"cve":"CVE-2024-39338","published":"2024-08-09","fixed":"1.7.4","kev":false},{"cve":"CVE-2025-27152","published":"2025-03-07","fixed":"1.8.2","kev":false}],"package":"npm:axios"}}