Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
HIGH severity

CVE-2021-3749 — axios

HIGHFix: axios/axios@5b45711

CVE-2021-3749 is a high-severity (CVSS 7.5) CWE-1333 vulnerability in axios. 1 public exploit reference exists, so weaponization risk is real. A fix is available for axios — see the affected versions and patch details below.

axios Inefficient Regular Expression Complexity vulnerability

Also known asGHSA-cph5-m8f7-6c5x
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
1 known
Exploitation data as of Oct 10, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
8.5%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs95th percentile — riskier than 95% of all scored CVEsHighest risk
7.76%8.31%8.85%9.39%8.3%8.5%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2021-3749 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,386 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

180Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
axiosnpm
115.0Mdownloads / week

Description

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

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmaxiosall versions0.21.2npm install axios@0.21.2

Affected Products

3 products · 5 configurations
Application
axiosaxios
≤ 0.21.1
range
Application
goldengateoracle
≥ 21.1 && < 21.7.0.0.0
range
Application
sinec inssiemens
< 1.0
1 version
1.0
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for axios, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update axios to 0.21.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-3749 is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

* OpenShift Container Platform (OCP) grafana-container does package a vulnerable version of nodejs axios. However, due to the instance being read only and behind OpenShift OAuth, the impact of this vulnerability is Low. * Red Hat Advanced Cluster Management for Kubernetes (RHACM) 2.1 and previous versions does contain…

ProductFixed inAdvisory
Migration Toolkit for Virtualization 2.2migration-toolkit-virtualization/mtv-ui-rhel8:2.2.0-60RHEA-2021:5066
OpenShift Service Mesh 2.0kiali-0:v1.24.7.redhat1-1.el8RHSA-2022:1276
Red Hat Migration Toolkit for Containers 1.6rhmtc/openshift-migration-ui-rhel8:v1.6.0-24RHSA-2021:3694
Red Hat OpenShift Container Platform 4.10openshift4/ose-console:v4.10.0-202202240423.p0.gb6503ff.assembly.streamRHSA-2022:0056
RHACS-3.67-RHEL-8advanced-cluster-security/rhacs-rhel8-operator:3.67.0-3RHSA-2021:4902

Frequently Asked Questions

axios before v0.21.2 is vulnerable to Inefficient Regular Expression Complexity.
O3 Security · Impact-Aware SCA

Is CVE-2021-3749 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2021-3749: axios — Fixed in 0.21.2