PT-2023-9021 · Spring · Spring Security

Daniel Furtlehner

·

Publicado

2023-04-18

·

Atualizado

2024-04-17

·

CVE-2023-20862

CVSS v2.0

10

Alta

VetorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Spring Security versions 5.7.x through 5.7.7 Spring Security versions 5.8.x through 5.8.2 Spring Security versions 6.0.x through 6.0.2
Description The issue is related to the logout support not properly cleaning the security context if using serialized versions, and it is not possible to explicitly save an empty security context to the HttpSessionSecurityContextRepository. This can keep users authenticated even after they performed logout. The vulnerability is associated with incomplete cleanup of temporary or auxiliary resources, allowing a remote attacker to access confidential data or cause a denial of service.
Recommendations For Spring Security versions 5.7.x, upgrade to 5.7.8. For Spring Security versions 5.8.x, upgrade to 5.8.3. For Spring Security versions 6.0.x, upgrade to 6.0.3.

Correção

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2024-03033
CVE-2023-20862
GHSA-X873-6RGC-94JC
RHSA-2024:0778

Produtos afetados

Spring Security