VDB
KO
MEDIUM 5.9

GHSA-2827-2mxx-j8pv

Spring Retry has Cache Exhaustion in Stateful Retries that leads to Denial of Service

Quick fix

GHSA-2827-2mxx-j8pv — org.springframework.retry:spring-retry: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.0.13</version> for org.springframework.retry:spring-retry

Details

An attacker can craft a large number of unique requests that trigger a failure, exhausting the capacity of the application-wide stateful retry cache. Once the cache is full, it permanently rejects any further updates, causing all later stateful retries and circuit breakers in the application to fail.

Affected versions: Spring Retry 2.0.0 through 2.0.12; 1.3.0 through 1.3.4.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.springframework.retry:spring-retry
Introduced in: 2.0.0 Fixed in: 2.0.13
Fix # pom.xml: bump <version>2.0.13</version> for org.springframework.retry:spring-retry
Maven / org.springframework.retry:spring-retry
Introduced in: 0

No fixed version published yet for org.springframework.retry:spring-retry (maven). Pin to a known-safe version or switch to an alternative.

References