[SECURITY] [DLA 3346-1] python-werkzeug security update
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
- -------------------------------------------------------------------------
Debian LTS Advisory DLA-3346-1 debian-lts@lists.debian.org
https://www.debian.org/lts/security/ Sylvain Beucler
February 27, 2023 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------
Package : python-werkzeug
Version : 0.14.1+dfsg1-4+deb10u2
CVE ID : CVE-2023-23934 CVE-2023-25577
Debian Bug : 1031370
Two vulnerabilities were discovered in Werkzeug, a collection of
utilities for WSGI (web) applications. An attacker may inject cookies
in specific situations, and cause a denial of service (DoS).
CVE-2023-23934
Werkzeug will parse the cookie `=__Host-test=bad` as
__Host-test=bad`. If a Werkzeug application is running next to a
vulnerable or malicious subdomain which sets such a cookie using a
vulnerable browser, the Werkzeug application will see the bad
cookie value but the valid cookie key. Browsers may allow
"nameless" cookies that look like `=value` instead of
`key=value`. A vulnerable browser may allow a compromised
application on an adjacent subdomain to exploit this to set a
cookie like `=__Host-test=bad` for another subdomain.
CVE-2023-25577
Werkzeug's multipart form data parser will parse an unlimited
number of parts, including file parts. Parts can be a small amount
of bytes, but each requires CPU time to parse and may use more
memory as Python data. If a request can be made to an endpoint
that accesses `request.data`, `request.form`, `request.files`, or
`request.get_data(parse_form_data=False)`, it can cause
unexpectedly high resource usage. This allows an attacker to cause
a denial of service by sending crafted multipart data to an
endpoint that will parse it.
For Debian 10 buster, these problems have been fixed in version
0.14.1+dfsg1-4+deb10u2.
We recommend that you upgrade your python-werkzeug packages.
For the detailed security status of python-werkzeug please refer to
its security tracker page at:
https://security-tracker.debian.org/tracker/python-werkzeug
Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE1vEOfV7HXWKqBieIDTl9HeUlXjAFAmP88loACgkQDTl9HeUl
XjBU3g//QsicyrHjcjoHK4yRU1UhVGfKyC/7MwFilNXqYYpHMJPtkNrorZP2pjcV
COckuvI9VfvDWCV09/4XNr3sfNIqPi1sMvy28BPoYnlqpuRLmTubxDouaDiSlJdM
NjjoTDXt/2hOvi57WwPObLogcTjObez+RYVlY0vj7eJePxUnuPRLC6U0jebAQc+0
Gc7rD0+c3zakqhFABUu1VE74Gya684DP8LFl6BsEVawe+NZGLGbOxl4njfJHWVqi
AEIBOTYCkdVk27dr1k/QmmjEyDoxDdRpbnzx33yRJQQDi/Qv5JvQT+pJogP11S12
2n5W/a9EHUIBgnBHcf8TTEb4TXXA55Cd8PgyZ3TG9/452n90F79NdQCtle7fgeXZ
uWHgrt1D+F8DoG9mSl5ylxRcrtCQQxO4eLZ1SVApFmh2lwiNppxADZT9mP9n1JMG
3IAuasIpBUJTV5rFro/LErfT72nq+XBp5V6mPD0yj2IL4FyUdzQoZ75MaTNNeHuO
3WTccNC/fbpe0rsKrtacmbl1mop7IbQr5KrzL7Lv6kvG4NJ6xYCtCBkbDQoEwCMv
GRQTMKcyDnVq1tvpX8MtJOIpQCT+4Ymt4s8dMSiugUs1OoJ2tegPdVC5WZ5aKEaZ
7/uAcTkPY4exrb6fI1ijqmodz7ZlsqgD75D5vadmVfQU+rlb4Ag=
=C4nF
-----END PGP SIGNATURE-----
Reply to: