1. Accueil
  2. Vulnérabilités
  3. CVE-2026-59331

CVE-2026-59331

Spring Security RSocket Basic Authentication Decoder Enables Denial of Service via Unbounded Allocation

Publiée le 2 déc. 2026 · modifiée le 2 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 45/100

Résumé

Spring Security's RSocket support includes BasicAuthenticationPayloadExchangeConverter , which decodes username and password metadata from a non-standard RSocket Basic Authentication frame. The decoder read a length field from the incoming metadata and used it directly to size a memory allocation, without validating that the value was a reasonable, non-negative size relative to the data actually available. A single crafted authentication frame could therefore cause the server to attempt an extremely large allocation. Preconditions : The application uses Spring Security's RSocket support with an AuthenticationPayloadInterceptor that has not had its authentication converter overridden, leaving BasicAuthenticationPayloadExchangeConverter in effect as its default — as is the case, for example, with the deprecated RSocketSecurity#basicAuthentication configuration. The RSocket endpoint is reachable by the attacker. An unauthenticated attacker who can open a connection to the RSocket endpoint can exhaust available memory on the server, resulting in a denial of service.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Spring (8 ligne(s))
Spring
ProduitVersionsCorrigé dansSource
Security de 7.1.0 (inclus) à 7.1.2.1 (exclu) — CNA (éditeur ou attributeur)
Security de 7.0.0 (inclus) à 7.0.8.1 (exclu) — CNA (éditeur ou attributeur)
Security de 6.5.0 (inclus) à 6.5.13 (exclu) — CNA (éditeur ou attributeur)
Security de 6.0.0 (inclus) à 6.4.20 (exclu) — CNA (éditeur ou attributeur)
Security de 5.8.0 (inclus) à 5.8.29 (exclu) — CNA (éditeur ou attributeur)
Security de 5.7.0 (inclus) à 5.7.27 (exclu) — CNA (éditeur ou attributeur)
Security de 7.1.0 (inclus) à 7.1.3 (exclu) — CNA (éditeur ou attributeur)
Security de 7.0.0 (inclus) à 7.0.9 (exclu) — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:vmware)

Comment sont obtenues et calculées ces données