CVE-2021-41130
Last modified
CVE-2021-41130 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. Extensible Service Proxy, a.k.a. ESP is a proxy which enables API management capabilities for JSON/REST or gRPC API services. EPSS estimates a 0.38% chance of exploitation in the next 30 days.
Description
Extensible Service Proxy, a.k.a. ESP is a proxy which enables API management capabilities for JSON/REST or gRPC API services. ESPv1 can be configured to authenticate a JWT token. Its verified JWT claim is passed to the application by HTTP header "X-Endpoint-API-UserInfo", the application can use it to do authorization. But if there are two "X-Endpoint-API-UserInfo" headers from the client, ESPv1 only replaces the first one, the 2nd one will be passed to the application. An attacker can send two "X-Endpoint-API-UserInfo" headers, the second one with a fake JWT claim. Application may use the fake JWT claim to do the authorization. This impacts following ESPv1 usages: 1) Users have configured ESPv1 to do JWT authentication with Google ID Token as described in the referenced google endpoint document. 2) Users backend application is using the info in the "X-Endpoint-API-UserInfo" header to do the authorization. It has been fixed by v1.58.0. You need to patch it in the following ways: * If your docker image is using tag ":1", needs to re-start the container to pick up the new version. The tag ":1" will automatically point to the latest version. * If your docker image tag pings to a specific minor version, e.g. ":1.57". You need to update it to ":1.58" and re-start the container. There are no workaround for this issue.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Extensible Service Proxy | < 1.58.0 |
References
- https://github.com/cloudendpoints/esp/commit/e310c4f91d229a072507f80c73811489b4cdff27Patch, Third Party Advisory
- https://github.com/cloudendpoints/esp/releases/tag/v1.58.0Third Party Advisory
- https://github.com/cloudendpoints/esp/security/advisories/GHSA-43wx-8qmj-9r9qThird Party Advisory
- https://github.com/cloudendpoints/esp/commit/e310c4f91d229a072507f80c73811489b4cdff27Patch, Third Party Advisory
- https://github.com/cloudendpoints/esp/releases/tag/v1.58.0Third Party Advisory
- https://github.com/cloudendpoints/esp/security/advisories/GHSA-43wx-8qmj-9r9qThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41130?
How severe is CVE-2021-41130?
How do I fix CVE-2021-41130?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41125Scrapy is a high-level web crawling and scraping framework f…6.5
- CVE-2021-41126October is a Content Management System (CMS) and web platfor…7.2
- CVE-2021-41127Rasa is an open source machine learning framework to automat…7.1
- CVE-2021-41128Hygeia is an application for collecting and processing perso…8.8
- CVE-2021-41129Pterodactyl is an open-source game server management panel b…8.1
- CVE-2021-4113Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-41131python-tuf is a Python reference implementation of The Updat…8.7
- CVE-2021-41132OMERO.web provides a web based client and plugin infrastruct…6.1
- CVE-2021-41133Flatpak is a system for building, distributing, and running …7.8
- CVE-2021-41134nbdime provides tools for diffing and merging of Jupyter Not…5.4
- CVE-2021-41135The Cosmos-SDK is a framework for building blockchain applic…6.5
- CVE-2021-41136Puma is a HTTP 1.1 server for Ruby/Rack applications. Prior …3.7
Are you affected by CVE-2021-41130?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
