Debian Bug report logs -
#1031370
python-werkzeug: CVE-2023-23934 CVE-2023-25577
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian Python Team <team+python@tracker.debian.org>
:
Bug#1031370
; Package src:python-werkzeug
.
(Wed, 15 Feb 2023 21:36:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Salvatore Bonaccorso <carnil@debian.org>
:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian Python Team <team+python@tracker.debian.org>
.
(Wed, 15 Feb 2023 21:36:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: python-werkzeug
Version: 2.2.2-2
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>
Hi,
The following vulnerabilities were published for python-werkzeug.
CVE-2023-23934[0]:
| Werkzeug is a comprehensive WSGI web application library. 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. Werkzeug prior to 2.2.3 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.
| The issue is fixed in Werkzeug 2.2.3.
CVE-2023-25577[1]:
| Werkzeug is a comprehensive WSGI web application library. Prior to
| version 2.2.3, 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. The amount of CPU time required can block worker processes
| from handling legitimate requests. The amount of RAM required can
| trigger an out of memory kill of the process. Unlimited file parts can
| use up memory and file handles. If many concurrent requests are sent
| continuously, this can exhaust or kill all available workers. Version
| 2.2.3 contains a patch for this issue.
If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2023-23934
https://www.cve.org/CVERecord?id=CVE-2023-23934
[1] https://security-tracker.debian.org/tracker/CVE-2023-25577
https://www.cve.org/CVERecord?id=CVE-2023-25577
Please adjust the affected versions in the BTS as needed.
Regards,
Salvatore
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Feb 16 13:06:42 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.