cve.bz

CVE-2023-51774 json-jwt project json-jwt: Improper Access Control

8.4 highExploit referenceEPSS 0.2%Fix available

High (8.4) in json-jwt project json-jwt. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in json-jwt 1.15.3.1, 1.16.6.

On this page
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.

Severity

CVSS 3.1

8.4 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 14th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-08-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-284 Improper Access Control
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-51774 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-51774?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-51774?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-51774 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
json-jwt_project:json-jwt1.16.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c8v6-786g-vjx6RubyGemsjson-jwt>=1.16.0 <1.16.61.16.6
GHSA-c8v6-786g-vjx6RubyGemsjson-jwt<1.15.3.11.15.3.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 moreruby-json-jwtno fix listedUBUNTU-CVE-2023-51774
SUSEPackage Hub 15 SP5rubygem-aes_key_wrap1.1.0-bp155.2.1openSUSE-SU-2025:0004-1
SUSEPackage Hub 15 SP5rubygem-json-jwt1.16.6-bp155.3.3.1openSUSE-SU-2025:0004-1
openSUSELeap 15.5rubygem-aes_key_wrap1.1.0-bp155.2.1openSUSE-SU-2025:0004-1
openSUSELeap 15.5rubygem-json-jwt1.16.6-bp155.3.3.1openSUSE-SU-2025:0004-1

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-51774.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).

References

Check your stackJSON