Security context

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

spring-cloud/spring-cloud-gcp
main @ 5634d4b
4
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
spring-cloud-gcp-autoconfigure: most-fixed (2 issues). Treat as high-risk during review.
3 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

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

Auth Bypass: Auto-configuration classes failed to mandate critical JWT validation parameters (audience and issuer claims) by default, leaving environments susceptible to token reuse across different resources if users did not explicitly declare verification properties.
Auth Bypass: Weak IAP token assertion validation on the `JwtDecoder` class could allow attackers to bypass authentication by presenting valid Google-signed tokens that were intended for other target resources or applications.
Privilege Escalation: Over-scoped Google API credentials for Cloud SQL instances requested platform-wide access tokens instead of narrow scope-specific ones, potentially exposing administrative actions on other GCP resources (such as Cloud Storage or Pub/Sub) if credentials were leaked.