PT-2023-2612

CVE-2023-23934

·

Publicado

2023-02-14

·

Atualizado

2025-04-11

Descrição por

CVSS 3.1
3.5
Baixa
MétricasAV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions Werkzeug versions prior to 2.2.3
Description The issue is related to how Werkzeug handles "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 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.
Recommendations For Werkzeug versions prior to 2.2.3, update to version 2.2.3 to resolve the issue. As a temporary workaround, consider restricting access to the vulnerable subdomain to minimize the risk of exploitation. Avoid using vulnerable browsers that allow "nameless" cookies.
Explorabilidade
Exploit
Correção
Impactos
Pesquisadores
Fornecedores
Produtos afetados
Enumeração de fraquezas
Identificadores relacionados
GHSA-PX8H-6QXV-M22Q
ALT-PU-2023-7835
ALT-PU-2025-3304
AZL-13589
DLA-3346-1
DSA-5470-1
OESA-2023-1515
PYSEC-2023-57
RHSA-2023:1018
RHSA-2025:4664
RHSA-2025:9775
ROSA-SA-2024-2530
USN-5948-1
USN-5948-2
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾