CVE-2025-54887

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-54887
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-54887.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-54887
Aliases
Published
2025-08-08T01:15:25Z
Modified
2025-08-08T22:51:32.214364Z
Summary
[none]
Details

jwe is a Ruby implementation of the RFC 7516 JSON Web Encryption (JWE) standard. In versions 1.1.0 and below, authentication tags of encrypted JWEs can be brute forced, which may result in loss of confidentiality for those JWEs and provide ways to craft arbitrary JWEs. This puts users at risk because JWEs can be modified to decrypt to an arbitrary value, decrypted by observing parsing differences and the GCM internal GHASH key can be recovered. Users are affected by this vulnerability even if they do not use an AES-GCM encryption algorithm for their JWEs. As the GHASH key may have been leaked, users must rotate the encryption keys after upgrading. This issue is fixed in version 1.1.1.

References

Affected packages

Git / github.com/jwt/ruby-jwe

Affected ranges

Type
GIT
Repo
https://github.com/jwt/ruby-jwe
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.4.0

v1.*

v1.0.0
v1.1.0