Advisory

GHSA-c8v6-786g-vjx6

Also known as: CVE-2023-51774

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-02-29 03:33 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

json-jwt

RubyGems · All systems

Affected

  • introduced 1.16.0, fixed 1.16.6 (ecosystem)

Fixed versions

1.16.6

Fix

The export has no generic command for this ecosystem.

json-jwt

RubyGems · All systems

Affected

  • introduced 0, fixed 1.15.3.1 (ecosystem)

Fixed versions

1.15.3.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences