Skip to content

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

@mend-for-github-com

Description

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

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

Path to dependency file: /functions/package.json

Path to vulnerable library: /functions/node_modules/axios/package.json

Found in HEAD commit: 06784fb9026224d5aca9b75d5d545ed9aaf5e7d3

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 1.7.2
CVE-2025-27152 High 7.5 axios-1.7.1.tgz Direct 1.8.2
CVE-2024-39338 High 7.5 axios-1.7.1.tgz Direct 1.7.4

**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: /functions/package.json

Path to vulnerable library: /functions/node_modules/form-data/package.json

Dependency Hierarchy:

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

Found in HEAD commit: 06784fb9026224d5aca9b75d5d545ed9aaf5e7d3

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.
Mend Note: The description of this vulnerability differs from MITRE.

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

Release Date: 2025-07-18

Fix Resolution (form-data): 4.0.4

Direct dependency fix Resolution (axios): 1.7.2

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2025-27152

Vulnerable Library - axios-1.7.1.tgz

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

Path to dependency file: /functions/package.json

Path to vulnerable library: /functions/node_modules/axios/package.json

Dependency Hierarchy:

  • axios-1.7.1.tgz (Vulnerable Library)

Found in HEAD commit: 06784fb9026224d5aca9b75d5d545ed9aaf5e7d3

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: https://nvd.nist.gov/vuln/detail/CVE-2025-27152

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.1.tgz

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

Path to dependency file: /functions/package.json

Path to vulnerable library: /functions/node_modules/axios/package.json

Dependency Hierarchy:

  • axios-1.7.1.tgz (Vulnerable Library)

Found in HEAD commit: 06784fb9026224d5aca9b75d5d545ed9aaf5e7d3

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: https://nvd.nist.gov/vuln/detail/CVE-2024-39338

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