Security mailing lists by PureSourceCode

CVE-2023-51774

HIGH 8.4CVSS 3.1

json-jwt allows bypass of identity checks via a sign/encryption confusion attack

The json-jwt (aka JSON::JWT) gem 1.16.3 for Ruby sometimes allows bypass of identity checks via a sign/encryption confusion attack. For example, JWE can sometimes be used to bypass JSON::JWT.decode.

Published
29 Feb 2024
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-284
Also known as
GHSA-c8v6-786g-vjx6
Sources
NVDJSONOSV GHSA-c8v6-786g-vjx6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD json-jwt_project json-jwt
cpe:2.3:a:json-jwt_project:json-jwt:1.16.3:*:*:*:*:ruby:*:*
= 1.16.3
OSV RubyGems json-jwt >= 1.16.0, < 1.16.6 1.16.6
OSV RubyGems json-jwt < 1.15.3.1 1.15.3.1

References

History

  • 25 Nov 2026 20:54 UTC · NVD: first stored (published 29 Feb 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Feb 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.