Security readout for executives and security teams
Plain-English summary
Some Ory Oathkeeper deployments could let a token accepted for one scope be reused for another protected endpoint while OAuth2 introspection caching is enabled. This can expose protected data without changing the token itself. The issue is limited to affected beta versions and does not exist when this cache is disabled.
Executive priority
Prioritize remediation for internet-facing or shared Oathkeeper gateways protecting sensitive data. Default configurations are less exposed because caching is disabled, but enabled caching creates a direct authorization bypass risk.
Technical view
CVE-2021-32701 is a CWE-863 authorization flaw in Ory Oathkeeper oauth2_introspection caching. Cached introspection checked token expiration but not whether the cached token satisfied the current endpoint's required claims or scopes. A token accepted for scope foo could be treated as valid for scope bar before cache expiry.
Likely exposure
Exposure is likely only for Ory Oathkeeper versions >=v0.38.0-beta.2 and <v0.38.12-beta.1 with oauth2_introspection authenticator caching enabled. Default caching is disabled, which materially reduces default exposure.
Exploitation context
The source bundle does not show KEV listing or active exploitation. Abuse requires the affected Oathkeeper version, OAuth2 introspection caching enabled, and a cached token being evaluated against a different scope requirement before cache expiry.
Researcher notes
The vendor states the flaw was introduced in PR #424 and fixed by the referenced commit. Focus review on AuthenticatorOAuth2Introspection Authenticate and tokenFromCache behavior, especially whether cached introspection results are revalidated against current scope requirements.
Mitigation direction
- Upgrade Ory Oathkeeper to v0.38.12-beta.1 or a later vendor-fixed release.
- Disable oauth2_introspection authenticator caching if immediate upgrade is not possible.
- Review access rules that rely on token scopes or claims for sensitive endpoints.
- Check Ory advisory and release notes before deploying any workaround or upgrade.
- Monitor protected routes for unexpected authorization outcomes during the affected period.
Validation and detection
- Inventory Ory Oathkeeper versions across environments.
- Confirm whether oauth2_introspection authenticator caching is enabled.
- Identify routes requiring different scopes behind the same Oathkeeper deployment.
- Verify affected instances are upgraded or caching is disabled.
- Review tests for scope-specific authorization decisions with cached introspection responses.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-863: Authorization and privilege behavior lookup
Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCredential and access behavior lookup
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2021-32701 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 7.5 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N3.93.6Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
7.5HighVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/ory/oathkeeper/security/advisories/GHSA-qvp4-rpmr-xwrrCVE reference · x_refsource_CONFIRM
- https://github.com/ory/oathkeeper/pull/424CVE reference · x_refsource_MISC
- https://github.com/ory/oathkeeper/commit/1f9f625c1a49e134ae2299ee95b8cf158feec932CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Incorrect Authorization
Incorrect Authorization represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
