CVE-2021-32701 (High) detected in github.com/ory/oathkeeper/pipeline-eb53de71bfdc0bc10448220fda211321b054d811, github.com/ory/oathkeeper/pipeline/authn-eb53de71bfdc0bc10448220fda211321b054d811 #113
Labels
Mend: dependency security vulnerability
Security vulnerability detected by WhiteSource
CVE-2021-32701 - High Severity Vulnerability
github.com/ory/oathkeeper/pipeline-eb53de71bfdc0bc10448220fda211321b054d811
A cloud native Identity & Access Proxy / API (IAP) and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests. Inspired by the BeyondCorp / Zero Trust white paper. Written in Go.
Dependency Hierarchy:
github.com/ory/oathkeeper/pipeline/authn-eb53de71bfdc0bc10448220fda211321b054d811
A cloud native Identity & Access Proxy / API (IAP) and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests. Inspired by the BeyondCorp / Zero Trust white paper. Written in Go.
Dependency Hierarchy:
Found in HEAD commit: 43c00a05bdb772edb5194a57f42ee834b37f3774
Found in base branch: master
ORY Oathkeeper is an Identity & Access Proxy (IAP) and Access Control Decision API that authorizes HTTP requests based on sets of Access Rules. When you make a request to an endpoint that requires the scope
foo
using an access token granted with thatfoo
scope, introspection will be valid and that token will be cached. The problem comes when a second requests to an endpoint that requires the scopebar
is made before the cache has expired. Whether the token is granted or not to thebar
scope, introspection will be valid. A patch will be released withv0.38.12-beta.1
. Per default, caching is disabled for theoauth2_introspection
authenticator. When caching is disabled, this vulnerability does not exist. The cache is checked infunc (a *AuthenticatorOAuth2Introspection) Authenticate(...)
. FromtokenFromCache()
it seems that it only validates the token expiration date, but ignores whether the token has or not the proper scopes. The vulnerability was introduced in PR ory#424. During review, we failed to require appropriate test coverage by the submitter which is the primary reason that the vulnerability passed the review process.Publish Date: 2021-06-22
URL: CVE-2021-32701
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-qvp4-rpmr-xwrr
Release Date: 2021-06-22
Fix Resolution: v0.38.12-beta.1
The text was updated successfully, but these errors were encountered: