Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

micronaut-projects/micronaut-core
5.1.x @ c4e938a
3
Fixes
2
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Information Disclosure: 2 prior fixes. Scrutinize any change in this area.
http-client: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Information Disclosure: The HTTP client core failed to strip sensitive authentication headers (Authorization, Proxy-Authorization, Cookie) during cross-origin redirects, potentially exposing credentials to third-party domains. Developers should ensure the host validation logic successfully restricts header propagation on any redirect path.
Denial of Service: Unbounded caching of DateTimeFormatter instances and resource bundle caches keyed by attacker-controlled HTTP request headers (such as Locale tags and Accept-Language values) allows unauthenticated remote attackers to trigger heap memory exhaustion.
Auth Bypass: Permissive default CORS configurations (allowing credentials by default) exposed endpoints to unauthorized cross-origin resource sharing, violating the principle of secure defaults.