VDB
GHSA-5c5f-7vfq-3732
GHSA-5c5f-7vfq-3732
PUBLISHED
CVSS 9.800000190734863 CRITICAL
JMESPath for Ruby uses unsafe JSON.load when safe JSON.parse is preferable
Record from GitHub Advisory Database · Published June 7, 2022
jmespath is fixed in 1.6.1 (RubyGems)
JMESPath for Ruby uses unsafe JSON.load when safe JSON.parse is preferable
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| jmespath | RubyGems | 1.6.1 |
Risk scores
CVSS 3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| RubyGems | jmespath | 0 |
| chainguard | py3-jmespath | * |
| wolfi | py3-jmespath | * |
| RubyGems | jmespath |
Timeline
- Jun 7, 2022 CVE Published
- Apr 30, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-5c5f-7vfq-3732
vulnetix vdb fixes GHSA-5c5f-7vfq-3732
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-5c5f-7vfq-3732/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-32511 advisory
- https://github.com/jmespath/jmespath.rb/pull/55 url
- https://github.com/jmespath/jmespath.rb/compare/v1.6.0...v1.6.1 url
- https://github.com/jmespath/jmespath.rb package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jmespath/CVE-2022-32511.yml url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5 url
- https://github.com/jmespath/jmespath.rb/commit/e8841280053a9d9a0c90f36223f926c8b9e4ec49 url
- https://stackoverflow.com/a/30050571/580231 url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP url