CVE-2023-51774: json-jwt allows bypass of identity checks via a sign/encryption confusion attack

CVE-2023-51774 · Severity: info · Published 2024-02-29

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

Technologies: json-jwt (RubyGems). Vendors: RubyGems.

Quick answers

Is CVE-2023-51774 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2023-51774 being exploited in the wild.
How severe is CVE-2023-51774?
Informational severity, published 29 February 2024.
Which products and versions are affected?
json-jwt (RubyGems) ECOSYSTEM:introduced=1.16.0,fixed=1.16.6.
Is there a fix for CVE-2023-51774?
Yes. json-jwt (RubyGems): upgrade to 1.16.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2023-51774?
Check whether you run json-jwt (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • json-jwt (RubyGems): upgrade to 1.16.6 or later
    bundle update json-jwt

Affected products

  • json-jwt (RubyGems) ECOSYSTEM:introduced=1.16.0,fixed=1.16.6

Identifiers

  • CVE-2023-51774
  • GHSA-c8v6-786g-vjx6

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.