CVE-2026-59419

Description

A flaw was found in Spring Framework. A remote attacker could send HTTP requests with non-standard HTTP methods to an application configured to collect metrics on web client requests. By repeatedly sending requests with unique HTTP methods, the attacker causes the application to create excessive performance metric records, leading to application memory exhaustion and a Denial of Service (DoS).

Statement

Red Hat has evaluated this vulnerability as having a Moderate impact because successful exploitation requires a specific combination of application configurations and exposure patterns. For an application to be vulnerable, it must receive untrusted HTTP methods from remote clients, forward those methods downstream using Spring web client components, and collect client request metrics using default Micrometer observation conventions. In environments where incoming HTTP methods are strictly validated at the perimeter or where custom observation conventions limit tag cardinality, memory exhaustion cannot be triggered.

Mitigation

To mitigate this vulnerability without modifying application code dependencies, restrict incoming HTTP requests at the ingress controller, API gateway, or reverse proxy (such as NGINX or HAProxy) to allow only standard HTTP methods (e.g., GET, POST, PUT, DELETE, HEAD, OPTIONS, PATCH). Filtering non-standard HTTP methods at the network perimeter prevents untrusted method strings from reaching downstream Spring client requests and exhausting metric memory. Alternatively, applications can configure a custom ClientRequestObservationConvention to sanitize or bound the HTTP method metric tag values generated by Micrometer.

Caveats:
Restricting HTTP methods at the perimeter may disrupt legitimate application features if custom or non-standard HTTP methods are intentionally used.

Warning:
Applying updates to reverse proxy, ingress, or firewall configurations may require reloading or restarting the proxy service, which can cause brief connection interruptions during execution.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.9N/A5.9
Attack VectorNetworkN/ANetwork
Attack ComplexityHighN/AHigh
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactNoneN/ANone
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)

When allocating resources without limits, an attacker could prevent other systems, applications, or processes from accessing the same type of resource. It can be easy for an attacker to consume many resources by rapidly making many requests or causing larger resources to be used than is needed.

Frequently Asked Questions

Want to get errata notifications? Sign up here.