springdoc-openapi-starter-common is vulnerable to Uncontrolled Resource Consumption
75
High Risk
The OpenAPIService caches generated OpenAPI documents in a map keyed by request locale, and the locale derives from the client supplied Accept-Language header. Requesting /v3/api-docs with many distinct language tags fills the cache with fully materialized documents without any bound, and a related append-only growth affects @ControllerAdvice handling. This exhausts the heap and triggers an OutOfMemoryError. The patch bounds the cache with an access-ordered LRU limited by springdoc.cache.max-entries.
You are affected if you are using a version that falls within the vulnerable range and your /v3/api-docs endpoint is reachable by clients that can vary the Accept-Language header.
springdoc-openapi-starter-common is vulnerable to Uncontrolled Resource Consumption in versions 2.0.0 - 2.9.0 and 3.0.0 - 3.1.0.
Upgrade the springdoc-openapi-starter-common library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.