CVE-2024-49766

NameCVE-2024-49766
DescriptionWerkzeug is a Web Server Gateway Interface web application library. On Python < 3.11 on Windows, os.path.isabs() does not catch UNC paths like //server/share. Werkzeug's safe_join() relies on this check, and so can produce a path that is not safe, potentially allowing unintended access to data. Applications using Python >= 3.11, or not using Windows, are not vulnerable. Werkzeug version 3.0.6 contains a patch.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-werkzeug (PTS)jessie, jessie (lts)0.9.6+dfsg-1+deb8u3fixed
stretch (lts), stretch0.11.15+dfsg1-1+deb9u2fixed
buster (security), buster, buster (lts)0.14.1+dfsg1-4+deb10u2fixed
bullseye (security), bullseye1.0.1+dfsg1-2+deb11u1fixed
bookworm2.2.2-3fixed
sid, trixie3.0.4-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-werkzeugsource(unstable)(not affected)

Notes

- python-werkzeug <not-affected> (Windows-specific)
https://github.com/pallets/werkzeug/security/advisories/GHSA-f9vj-2wh5-fj8j
https://github.com/pallets/werkzeug/commit/87cc78a25f782f8c59fbde786840a00cf0d09b3d (3.0.6)

Search for package or bug name: Reporting problems