Skip to content

Instantly share code, notes, and snippets.

@ZupeiNie
Created July 30, 2025 01:41
Show Gist options
  • Select an option

  • Save ZupeiNie/c621253068ce5b64911629534879e8f9 to your computer and use it in GitHub Desktop.

Select an option

Save ZupeiNie/c621253068ce5b64911629534879e8f9 to your computer and use it in GitHub Desktop.
ruby-jwt < v3.0.0.beta1 was discovered to contain weak encryption.
CVE: CVE-2025-45765
Description:
we found that the HMAC and RSA key lengths used in your JSON Web Signature (JWS) implementation do not meet recommended security standards(RFC 7518、NIST SP800-117、RFC 2437). According to CWE-326 (Inadequate Encryption Strength), using keys that are too short can lead to serious vulnerabilities and potential attacks.
Affected versions: <= v3.0.0.beta1
Reference: https://github.com/jwt/ruby-jwt/issues/668
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment