CVE-2024-57965

NameCVE-2024-57965
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1094731

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-axios (PTS)bullseye0.21.1+dfsg-1+deb11u1vulnerable
bookworm1.2.1+dfsg-1vulnerable
sid, trixie1.7.9+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-axiossource(unstable)1.7.9+dfsg-11094731

Notes

[bookworm] - node-axios <no-dsa> (Minor issue)
https://github.com/axios/axios/issues/6351
https://github.com/axios/axios/commit/0a8d6e19da5b9899a2abafaaa06a75ee548597db (v1.7.8)
https://github.com/axios/axios/pull/6714

Search for package or bug name: Reporting problems