CVE-2024-57965 Affecting node-axios package, versions <1.7.9+dfsg-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th percentile)

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 IDSNYK-DEBIANUNSTABLE-NODEAXIOS-8674845
  • published30 Jan 2025
  • disclosed29 Jan 2025

Introduced: 29 Jan 2025

NewCVE-2024-57965  (opens in a new tab)

How to fix?

Upgrade Debian:unstable node-axios to version 1.7.9+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-axios package and not the node-axios package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

In axios before 1.7.8, lib/helpers/isURLSameOrigin.js does not use a URL object when determining an origin, and has a potentially unwanted setAttribute('href',href) call. NOTE: some parties feel that the code change only addresses a warning message from a SAST tool and does not fix a vulnerability.