Vulnerability DatabaseGHSA-qvp4-rpmr-xwrr

GHSA-qvp4-rpmr-xwrr
vulnerability analysis and mitigation

Overview

ORY Oathkeeper, an Identity & Access Proxy (IAP) and Access Control Decision API, was found to have a vulnerability affecting versions >= 0.38.0-beta.2 and <= 0.38.11-beta.1. The vulnerability (CVE-2021-32701) was discovered and disclosed on June 22, 2021, and involves a potential bypass of token claim validation when OAuth2 Introspection caching is enabled (GitHub Advisory).

Technical details

The vulnerability stems from an incorrect authorization implementation where the cache validation only checks the token expiration date while ignoring proper scope validation. The issue has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, indicating network accessibility, low attack complexity, and no required privileges or user interaction (GitHub Advisory).

Impact

When a request is made to an endpoint requiring a specific scope (e.g., 'foo') using an access token with that scope, the introspection is validated and cached. Subsequently, if a second request to an endpoint requiring a different scope (e.g., 'bar') is made before the cache expires, the introspection will be considered valid regardless of whether the token has the required 'bar' scope (GitHub Advisory).

Mitigation and workarounds

A patch was released in version v0.38.12-beta.1 to address the vulnerability. As a workaround, users can disable caching for the oauth2_introspection authenticator, which is the default configuration. The development team has implemented additional safeguards including strict codecov policies and comprehensive test suites to prevent similar issues (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management