Auth bypass in Ory Fosite
CVE-2020-15222
In ORY Fosite (the security first OAuth2 & OpenID Connect framework for Go) before version 0.31.0, when using "private_key_jwt" authentication the uniqueness of the `jti` value is not checked. When using client authentication method "private_key_jwt", OpenId specification says the following about assertion `jti`: "A unique identifier for the token, which can be used to prevent reuse of the token. These tokens MUST only be used once, unless conditions for reuse were negotiated between the parties". Hydra does not seem to check the uniqueness of this `jti` value. This problem is fixed in version 0.31.0.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.009 (57.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 57th percentile — 57.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: 0.000
Affected products
- Ory Fosite — versions < 0.31.0
Weakness classification (CWE)
References
- github.com/ory/fosite/security/advisories/GHSA-v3q9-2p3m-7g43 (Exploit, Third Party Advisory)
- github.com/ory/fosite/commit/0c9e0f6d654913ad57c507dd9a36631e1858a3e9 (Patch, Third Party Advisory)
- openid.net/specs/openid-connect-core-1_0.html (Third Party Advisory)
Frequently asked questions
- What is CVE-2020-15222?
- CVE-2020-15222 is a high-severity vulnerability in Ory Fosite, classified under Improper Authentication. CVSS score: 8.1/10. Published 2020-09-24.
- How severe is CVE-2020-15222?
- High severity. CVSS v3 base score is 8.1 out of 10.