CVE-2023-51774
JSON

8.4high

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

Severity
8.4high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-c8v6-786g-vjx6

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
json-jwt_project json-jwt1.16.3CVE List, NVD
json-jwt (RubyGems)from 1.16.0 before 1.16.6, before 1.15.3.1GitHub Advisory Database

All scores

CISA-ADP8.4high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubmedium rating

Classification

CWE-284

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

The json-jwt (aka JSON::JWT) gem 1.16.x before 1.16.6, 1.15.x before 1.15.3.1 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.

NVD (es)

La gema json-jwt (también conocida como JSON::JWT) 1.16.3 para Ruby a veces permite eludir los controles de identidad mediante un ataque de confusión de signo/cifrado. Por ejemplo, a veces se puede utilizar JWE para omitir JSON::JWT.decode.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-51774 changed 2024-08-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-c8v6-786g-vjx6 changed 2026-09-10CC-BY-4.0
NVDCVE-2023-51774 changed 2026-06-17Public domain