Sårbarheter

CVE-2025-66221

Middels 5.3 CVSS 3.1

Beskrivelse

Werkzeug is a comprehensive WSGI web application library. Prior to version 3.1.4, Werkzeug's safe_join function allows path segments with Windows device names. On Windows, there are special device names such as CON, AUX, etc that are implicitly present and readable in every directory. send_from_directory uses safe_join to safely serve files at user-specified paths under a directory. If the application is running on Windows, and the requested path ends with a special device name, the file will be opened successfully, but reading will hang indefinitely. This issue has been patched in version 3.1.4.

Beskrivelsen gjengis slik kilden har publisert den, på engelsk.

Nøkkelfakta

Publisert
2025-11-29
Sist endret
2026-10-07
Tildelt av
security-advisories@github.com
CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Scoret av
nvd@nist.gov (NVD Primary)
Sannsynlighet for utnyttelse
0.5 % høyere enn 41 % av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15
Rettelse finnes
Ja, se referansene

Berørte produkter

Leverandør Produkt Versjoner Status
Microsoft Windows alle oppførte versjoner Ikke berørt
Palletsprojects Werkzeug < 3.1.4 Berørt

Svakhetstype

  • CWE-67: Improper Handling of Windows Device Names

    The product constructs pathnames from user input, but it does not handle or incorrectly handles a pathname containing a Windows device name such as AUX or CON. This typically leads to denial of service or an information…

Referanser

Relatert hos Berigo

Artikler

Berører dette dere?

En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.

Sjekk aktivalisten deres Bla i alle sårbarheter