Skip to main content
Public proof of conceptFix available

CVE-2024-39338

A public proof of concept exists; no exploitation attested.

  • Published2024-08-12
  • Fixed in1.7.4
  • WeaknessCWE-918

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative URLs.

Timeline

dates in UTC
  1. 2024-08-1213:38CVE publishedNVD

Versions per branch

NVD · OSV · CISA-ADP
Axios
BranchAffectedFixed in
1.x≥ 1.3.2, < 1.7.41.7.4
1.7= 1.7.2no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/axiosRoot:npmall versions · fixed in 1.6.5-root.io.4
  • @rootio/axiosRoot:npmall versions · fixed in 1.6.0-root.io.1
  • @rootio/axiosRoot:npmall versions · fixed in 1.6.5-root.io.1
  • @rootio/axiosRoot:npmall versions · fixed in 1.6.0-root.io.2
  • @rootio/axiosRoot:npmall versions · fixed in 1.6.0-root.io.3
  • @rootio/axiosRoot:npmall versions · fixed in 1.6.5-root.io.2
  • @rootio/axiosRoot:npmall versions · fixed in 1.6.5-root.io.3
  • airflow-2Chainguardall versions · fixed in 2.11.0-r15

35 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-39338 Red Hat Product Security970 products fixed · 20 known affected

    axios: axios: Server-Side Request Forgery

    axios.src as a component of Migration Toolkit for Runtimes · 3scale-amp2/system-rhel7 as a component of Red Hat 3scale API Management Platform 2 · ansible-tower.src as a component of Red Hat Ansible Automation Platform 1.2 · +17 more

  • RHSA-2024:6122 Red Hat Product Security662 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.18.1 bug fix and security update

  • RHSA-2025:1249 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: updated discovery container images

  • RHBA-2024:11558 Red Hat Product Security30 products fixed

    Red Hat Bug Fix Advisory: Red Hat Quay v3.11.7 bug fix release

  • RHSA-2024:8981 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.17.4 bug fix and security update

  • RHSA-2024:8014 Red Hat Product Security24 products fixed

    Red Hat Security Advisory: Network Observability 1.7.0 for OpenShift

7 more advisories

Full record on NVD

Fix

  1. Update Axios to 1.7.4
  2. Vendor fix Red Hat Product Security RHSA-2024:6122 · 662 productsFor OpenShift Container Platform 4.18 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.18/release_notes/o…
  3. Vendor fix Red Hat Product Security RHSA-2025:1249 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  4. Vendor fix Red Hat Product Security RHBA-2024:11558 · 30 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  5. Vendor fix Red Hat Product Security RHSA-2024:8981 · 4 productsFor OpenShift Container Platform 4.17 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.17/release_notes/o…
  6. Vendor fix Red Hat Product Security RHSA-2024:8014 · 24 productsFor details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  7. Workaround from the vendor Red Hat Product Security RHSA-2024:6122 · 662 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2024-08-12
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-8hc4-vh64-cxmj

Frequently asked questions

What is CVE-2024-39338?

axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative URLs.

Is CVE-2024-39338 actively exploited?

A proof-of-concept exploit exists for CVE-2024-39338, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-39338?

CVE-2024-39338 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Running axios? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record