[Security] Bump axios from 1.8.1 to 1.8.2
Bumps axios from 1.8.1 to 1.8.2. This update includes a security fix.
Vulnerabilities fixed
axios Requests Vulnerable To Possible SSRF and Credential Leakage via Absolute URL
Summary
A previously reported issue in axios demonstrated that using protocol-relative URLs could lead to SSRF (Server-Side Request Forgery).
axios/axios#6463A similar problem that occurs when passing absolute URLs rather than protocol-relative URLs to axios has been identified. Even if
baseURLis 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.Details
Consider the following code snippet:
import axios from "axios"; const internalAPIClient = axios.create({ baseURL: "http://example.test/api/v1/users/", headers: { "X-API-KEY": "1234567890", }, }); </tr></table>
... (truncated)
Patched versions: 1.8.2
Affected versions: < 1.8.2
Release notes
Sourced from axios's releases.
Release v1.8.2
Release notes:
Bug Fixes
Contributors to this release
Commits
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflicts