Skip to content

axios-1.7.2.tgz: 3 vulnerabilities (highest severity is: 8.7) #3

@mend-for-github-com

Description

@mend-for-github-com
Vulnerable Library - axios-1.7.2.tgz

Library home page: https://registry.npmjs.org/axios/-/axios-1.7.2.tgz

Path to dependency file: /tmp/ws-scm/number-verification-api-demo/package.json

Path to vulnerable library: /tmp/ws-scm/number-verification-api-demo/package.json

Found in HEAD commit: 207ef86f9b619970137bc28962e315ced360b3a9

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (axios version) Remediation Possible**
CVE-2025-7783 High 8.7 form-data-4.0.0.tgz Transitive N/A*
CVE-2025-27152 High 7.5 axios-1.7.2.tgz Direct 1.8.2
CVE-2024-39338 High 7.5 axios-1.7.2.tgz Direct 1.7.4

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2025-7783

Vulnerable Library - form-data-4.0.0.tgz

A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications.

Library home page: https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz

Path to dependency file: /tmp/ws-scm/number-verification-api-demo/package.json

Path to vulnerable library: /tmp/ws-scm/number-verification-api-demo/package.json

Dependency Hierarchy:

  • axios-1.7.2.tgz (Root Library)
    • form-data-4.0.0.tgz (Vulnerable Library)

Found in HEAD commit: 207ef86f9b619970137bc28962e315ced360b3a9

Found in base branch: main

Vulnerability Details

Use of Insufficiently Random Values vulnerability in form-data allows HTTP Parameter Pollution (HPP). This vulnerability is associated with program files lib/form_data.Js.
This issue affects form-data: < 2.5.4, 3.0.0 - 3.0.3, 4.0.0 - 4.0.3.

Publish Date: 2025-07-18

URL: CVE-2025-7783

CVSS 3 Score Details (8.7)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-fjxv-7rqg-78g4

Release Date: 2025-07-18

Fix Resolution: form-data - 4.0.4

CVE-2025-27152

Vulnerable Library - axios-1.7.2.tgz

Library home page: https://registry.npmjs.org/axios/-/axios-1.7.2.tgz

Path to dependency file: /tmp/ws-scm/number-verification-api-demo/package.json

Path to vulnerable library: /tmp/ws-scm/number-verification-api-demo/package.json

Dependency Hierarchy:

  • axios-1.7.2.tgz (Vulnerable Library)

Found in HEAD commit: 207ef86f9b619970137bc28962e315ced360b3a9

Found in base branch: main

Vulnerability Details

axios is a promise based HTTP client for the browser and node.js. The issue occurs when passing absolute URLs rather than protocol-relative URLs to axios. Even if ⁠baseURL is set, axios sends the request to the specified absolute URL, potentially causing SSRF and credential leakage. This issue impacts both server-side and client-side usage of axios. This issue is fixed in 1.8.2.

Publish Date: 2025-03-07

URL: CVE-2025-27152

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-jr5f-v2jv-69x6

Release Date: 2025-03-07

Fix Resolution: 1.8.2

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-39338

Vulnerable Library - axios-1.7.2.tgz

Library home page: https://registry.npmjs.org/axios/-/axios-1.7.2.tgz

Path to dependency file: /tmp/ws-scm/number-verification-api-demo/package.json

Path to vulnerable library: /tmp/ws-scm/number-verification-api-demo/package.json

Dependency Hierarchy:

  • axios-1.7.2.tgz (Vulnerable Library)

Found in HEAD commit: 207ef86f9b619970137bc28962e315ced360b3a9

Found in base branch: main

Vulnerability Details

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

Publish Date: 2024-08-09

URL: CVE-2024-39338

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-8hc4-vh64-cxmj

Release Date: 2024-08-09

Fix Resolution: 1.7.4

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions