CVE-2022-32511
Ruby vulnerability analysis and mitigation

Overview

CVE-2022-32511 affects jmespath.rb (JMESPath for Ruby) versions before 1.6.1. The vulnerability was discovered in June 2022 and involves the improper use of JSON.load instead of JSON.parse in the library. The vulnerability affects multiple systems including Fedora Linux distributions and other systems using the affected versions of the jmespath.rb library (NVD, CVE).

Technical details

The vulnerability stems from the use of JSON.load in situations where JSON.parse would be more secure. JSON.load is considered unsafe when given untrusted input as it provides a way to instantiate arbitrary classes beyond the standard Hash, String, Array, and Number classes. The vulnerability has been assigned a CVSS v3.1 Base Score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could allow an attacker to execute arbitrary code through maliciously crafted JSON input. Since JSON.load allows for instantiation of arbitrary classes, it could potentially lead to remote code execution if exploited. This is particularly dangerous when processing untrusted JSON data (Stack Overflow).

Mitigation and workarounds

The vulnerability has been fixed in jmespath.rb version 1.6.1. Users should upgrade to this version or later to mitigate the vulnerability. The fix involves replacing the unsafe JSON.load with JSON.parse in the codebase (Github PR, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-24293CRITICAL9.2
  • RubyRuby
  • activestorage
NoYesAug 14, 2025
CVE-2025-54887CRITICAL9.1
  • RubyRuby
  • jwe
NoYesAug 08, 2025
CVE-2025-58067MEDIUM4.2
  • RubyRuby
  • google_sign_in
NoYesAug 29, 2025
CVE-2025-57821MEDIUM4.2
  • RubyRuby
  • google_sign_in
NoYesAug 27, 2025
CVE-2025-55193LOW2.7
  • RubyRuby
  • cpe:2.3:a:rubyonrails:rails
NoYesAug 13, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management