CVE-2023-30845
ESPv2 vulnerable to JWT authentication bypass via `X-HTTP-Method-Override` header
Mitigation
- Upgrade esp-v2 to 2.43.0 or later.
Who should check
- Anyone running GoogleCloudPlatform esp-v2 >= 2.20.0, < 2.43.0
Vulnerability facts
- Affected
- GoogleCloudPlatform esp-v2 >= 2.20.0, < 2.43.0
- Fixed in
- GoogleCloudPlatform esp-v2 2.43.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.50% chance of exploitation in 30 days (percentile 36, 2026-11-26)
- CWE
- CWE-287
- Modified
Description
ESPv2 is a service proxy that provides API management capabilities using Google Service Infrastructure. ESPv2 2.20.0 through 2.42.0 contains an authentication bypass vulnerability. API clients can craft a malicious `X-HTTP-Method-Override` header value to bypass JWT authentication in specific cases. ESPv2 allows malicious requests to bypass authentication if both the conditions are true: The requested HTTP method is **not** in the API service definition (OpenAPI spec or gRPC `google.api.http` proto annotations, and the specified `X-HTTP-Method-Override` is a valid HTTP method in the API service definition. ESPv2 will forward the request to your backend without checking the JWT. Attackers can craft requests with a malicious `X-HTTP-Method-Override` value that allows them to bypass specifying JWTs. Restricting API access with API keys works as intended and is not affected by this vulnerability. Upgrade deployments to release v2.43.0 or higher to receive a patch. This release ensures that JWT authentication occurs, even when the caller specifies `x-http-method-override`. `x-http-method-override` is still supported by v2.43.0+. API clients can continue sending this header to ESPv2.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| GoogleCloudPlatform esp-v2 | >= 2.20.0, < 2.43.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-30845. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-30845.md Affected: GoogleCloudPlatform esp-v2 >= 2.20.0, < 2.43.0 Fixed in: GoogleCloudPlatform esp-v2 2.43.0 Steps: 1. Search this machine and project for GoogleCloudPlatform esp-v2: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2023-30845 being exploited?
There is no confirmed exploitation: CVE-2023-30845 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.50% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-30845?
High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-30845?
GoogleCloudPlatform esp-v2 >= 2.20.0, < 2.43.0.
Is there a fix for CVE-2023-30845?
Yes. Fixed in GoogleCloudPlatform esp-v2 2.43.0. Upgrade esp-v2 to 2.43.0 or later.
How do I check if I'm affected by CVE-2023-30845?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.