Skip to content
OpenAdvisories
Critical · 9.8 CVE-2022-32511 EUVD-2022-5934GHSA-5c5f-7vfq-3732

JMESPath for Ruby uses unsafe JSON.load when safe JSON.parse is preferable

Published Jun 6, 2022 · Updated Oct 8, 2026 · Assigned by mitre

Description

jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ruby-jmespath 1.6.1-1 —
Debian 13 ruby-jmespath 1.6.1-1 —
Debian 12 ruby-jmespath 1.6.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ruby-jmespath No fix yet —
Ubuntu 26.04 LTS ruby-jmespath No fix yet —
Ubuntu 25.10 ruby-jmespath No fix yet —
Ubuntu 24.04 LTS ruby-jmespath No fix yet —
Ubuntu 22.04 LTS ruby-jmespath No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ruby-jmespath No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems jmespath < 1.6.1 1.6.1 GHSA-5c5f-7vfq-3732

References