Server-Side Request Forgery (SSRF) Affecting lerna package, versions <8.2.1-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-Side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-LERNA-9403250
  • published13 Mar 2025
  • disclosed7 Mar 2025

Introduced: 7 Mar 2025

NewCVE-2025-27152  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade Chainguard lerna to version 8.2.1-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lerna package and not the lerna package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1