CVE-2020-5300
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-5300 is a vulnerability in Ory Hydra's implementation of OpenID Connect client authentication that was discovered and disclosed in April 2020. The vulnerability allowed potential replay attacks of private_key_jwt tokens due to insufficient validation of JWT ID (jti) claims. This affected Ory Hydra versions up to v1.3.2+oryOS.17 (GitHub Advisory).

Technical details

The vulnerability stems from Hydra's failure to properly validate the uniqueness of the JWT ID (jti) claim when using the 'private_key_jwt' client authentication method. According to the OpenID specification, these tokens must only be used once, unless specific conditions for reuse are negotiated between parties. The vulnerability allowed the same client assertion JWT to be used multiple times to obtain different access tokens, contrary to the specification requirements (GitHub Advisory).

Impact

The vulnerability could allow an attacker who has intercepted a valid client assertion JWT to replay it multiple times to obtain additional valid access tokens. However, the impact was somewhat mitigated by two factors: the requirement for TLS (which protects against MITM attacks) and the JWT's built-in expiry time which limited the window of opportunity for replay attacks (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in version v1.4.0+oryOS.17 by implementing a blacklist for JTIs to prevent token reuse. Before applying the patch, two workarounds were available: 1) Disabling the use of private_key_jwt authentication method for clients, or 2) Using very short expiry times for the JWTs to minimize the replay window. The patch requires creating a new SQL table using 'hydra migrate sql' command (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22783HIGH8.1
  • NixOSNixOS
  • iris
NoYesJan 12, 2026
CVE-2026-0821MEDIUM6.9
  • NixOSNixOS
  • quickjs
NoNoJan 10, 2026
CVE-2025-68949MEDIUM5.3
  • NixOSNixOS
  • n8n
NoYesJan 13, 2026
CVE-2026-22784LOW2.3
  • NixOSNixOS
  • lychee
NoYesJan 12, 2026
CVE-2026-23497LOW1.3
  • NixOSNixOS
  • learning
NoYesJan 14, 2026

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