
Cloud Vulnerability DB
A community-led vulnerabilities database
ORY Oathkeeper, an Identity & Access Proxy (IAP) and Access Control Decision API, was found to have a security vulnerability in versions v0.38.0-beta.2 through v0.38.11-beta.1. The vulnerability allows for bypassing token claim validation when OAuth2 Introspection caching is enabled. This issue was discovered in June 2021 and was assigned CVE-2021-32701 (GitHub Advisory).
The vulnerability occurs when making a request to an endpoint that requires a specific scope (e.g., 'foo') using an access token granted with that scope. The introspection result is cached. If a subsequent request is made to an endpoint requiring a different scope (e.g., 'bar') before the cache expires, the introspection will be considered valid regardless of whether the token has the required 'bar' scope. The issue stems from the cache only validating the token expiration date while ignoring scope validation (GitHub Advisory).
This vulnerability could allow attackers to bypass scope validation checks and access endpoints for which they don't have the required permissions, potentially leading to unauthorized access to protected resources (GitHub Advisory).
The vulnerability was patched in version v0.38.12-beta.1. For users unable to upgrade immediately, a workaround exists: caching is disabled by default for the oauth2_introspection authenticator, and when caching is disabled, this vulnerability does not exist. The development team has also implemented additional security measures including strict code coverage requirements and CodeQL scanning in CI to prevent similar issues (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."