---
id: CVE-2022-32511
title: >-
  jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation
  where JSON.parse is preferable.
summary: >-
  jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation
  where JSON.parse is preferable.
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
vendor: jmespath
product: jmespath
affected:
  - jmespath < 1.6.1
  - fedora = 35
  - fedora = 36
patched:
  - jmespath 1.6.1
published: '2022-06-06'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T22:17:21.710'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-32511'
references:
  - url: 'https://github.com/jmespath/jmespath.rb/compare/v1.6.0...v1.6.1'
    label: cve@mitre.org
  - url: 'https://github.com/jmespath/jmespath.rb/pull/55'
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP/
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5/
    label: cve@mitre.org
  - url: 'https://stackoverflow.com/a/30050571/580231'
    label: cve@mitre.org
  - url: 'https://github.com/jmespath/jmespath.rb/compare/v1.6.0...v1.6.1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/jmespath/jmespath.rb/pull/55'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://stackoverflow.com/a/30050571/580231'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.02425
epssPercentile: 0.83711
ingestedAt: '2026-10-08T23:16:47.344Z'
---

## Overview

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

## Affected

- `jmespath < 1.6.1`
- `fedora = 35`
- `fedora = 36`

## Remediation

Upgrade past the affected range:

- `jmespath 1.6.1`
