Spring Security 5.7.x < 5.7.27 / 5.8.x < 5.8.29 / 6.0.0 < 6.4.20 / 6.5.x < 6.5.13 / 7.0.x < 7.0.8.1 / 7.1.x < 7.1.2.1 DoS

high Nessus Plugin ID 388743

Synopsis

The Spring Security install on the remote host is affected by a denial of service vulnerability.

Description

The version of Spring Security installed on the remote host is 5.7.x prior to 5.7.27, 5.8.x prior to 5.8.29, 6.0.0 prior to 6.4.20, 6.5.x prior to 6.5.13, 7.0.x prior to 7.0.8.1, or 7.1.x prior to 7.1.2.1. It is, therefore, affected by a vulnerability:

- 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. 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. (CVE-2026-59331)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Spring Security version 5.7.27 / 5.8.29 / 6.4.20 / 6.5.13 / 7.0.8.1 / 7.0.9 / 7.1.2.1 / 7.1.3 or later.
Note that some fixed releases are available to Enterprise Support customers only; refer to the vendor advisory for details.

See Also

https://spring.io/security/cve-2026-59331

Plugin Details

Severity: High

ID: 388743

File Name: spring_security_CVE-2026-59331.nasl

Version: 1.1

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 11/30/2026

Updated: 11/30/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.96

CVSS v2

Risk Factor: High

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-59331

CVSS v3

Risk Factor: High

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Vulnerability Information

CPE: cpe:/a:pivotal_software:spring_security, cpe:/a:vmware:spring_security

Required KB Items: installed_sw/Spring Security

Patch Publication Date: 11/19/2026

Vulnerability Publication Date: 11/19/2026

Reference Information

CVE: CVE-2026-59331

IAVA: 2026-A-1350