werkzeug@3.0.5 vulnerabilities

The comprehensive WSGI web application library.

Direct Vulnerabilities

Known vulnerabilities in the werkzeug package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Allocation of Resources Without Limits or Throttling

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in formparser.MultiPartParser(). An attacker can cause the parser to consume more memory than the upload size, in excess of max_form_memory_size, by sending malicious data in a non-file field of a multipart/form-data request.

How to fix Allocation of Resources Without Limits or Throttling?

Upgrade werkzeug to version 3.0.6 or higher.

[,3.0.6)
  • M
Directory Traversal

Werkzeug is a WSGI web application library.

Affected versions of this package are vulnerable to Directory Traversal due to a bypass for os.path.isabs(), which allows the improper handling of UNC paths beginning with /, in the safe_join() function. This allows an attacker to read some files on the affected server, if they are stored in an affected path.

Note: This is only exploitable on Windows systems using Python versions prior to 3.11.

How to fix Directory Traversal?

Upgrade Werkzeug to version 3.0.6 or higher.

[,3.0.6)