CVE-2022-32511
jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a s ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Photon OS, Ruby Advisory DB. Rated lower by Ubuntu (medium).
Description
jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 4.0 | rubygem-jmespath | 1.6.1-1.ph4 |
| rubygems::GitHub Security Advisory RubyGems | jmespath | 1.6.1 |
| rubygems::Ruby Advisory Database | jmespath | >= 1.6.1 |
| chainguard | py3-jmespath | 0 |
| debian 11 | ruby-jmespath | no fix listed |
| debian 12 | ruby-jmespath | 1.6.1-1 |
| debian 13 | ruby-jmespath | 1.6.1-1 |
| debian 14 | ruby-jmespath | 1.6.1-1 |
| echo | ruby-jmespath | 1.6.1-1 |
| rapidfort ubuntu 20.04 | ruby-jmespath | 0:1.6.1-1 |
| rapidfort ubuntu 22.04 | ruby-jmespath | 0:1.6.1-1 |
| rapidfort ubuntu 24.04 | ruby-jmespath | 0:1.6.1-1 |
Show all 15 entries from 15 sources
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 4.0 | rubygem-jmespath | 1.6.1-1.ph4 |
| rubygems::GitHub Security Advisory RubyGems | jmespath | 1.6.1 |
| rubygems::Ruby Advisory Database | jmespath | >= 1.6.1 |
| chainguard | py3-jmespath | 0 |
| debian 11 | ruby-jmespath | no fix listed |
| debian 12 | ruby-jmespath | 1.6.1-1 |
| debian 13 | ruby-jmespath | 1.6.1-1 |
| debian 14 | ruby-jmespath | 1.6.1-1 |
| echo | ruby-jmespath | 1.6.1-1 |
| rapidfort ubuntu 20.04 | ruby-jmespath | 0:1.6.1-1 |
| rapidfort ubuntu 22.04 | ruby-jmespath | 0:1.6.1-1 |
| rapidfort ubuntu 24.04 | ruby-jmespath | 0:1.6.1-1 |
| ubuntu 20.04-ESM | ruby-jmespath | no fix listed |
| ubuntu 22.04 | ruby-jmespath | no fix listed |
| wolfi | py3-jmespath | 0 |
References
- https://github.com/advisories/GHSA-5c5f-7vfq-3732
- https://github.com/jmespath/jmespath.rb
- https://github.com/jmespath/jmespath.rb/blob/main/CHANGELOG.md#161-2022-03-07
- https://github.com/jmespath/jmespath.rb/commit/e8841280053a9d9a0c90f36223f926c8b9e4ec49
- https://github.com/jmespath/jmespath.rb/commit/e8841280053a9d9a0c90f36223f926c8b9e4ec49%20%28v1.6.1%29
- https://github.com/jmespath/jmespath.rb/compare/v1.6.0...v1.6.1
- https://github.com/jmespath/jmespath.rb/pull/55
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jmespath/CVE-2022-32511.yml
All 15 references
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5/
- https://nvd.nist.gov/vuln/detail/CVE-2022-32511
- https://stackoverflow.com/a/30050571/580231
- https://www.cve.org/CVERecord?id=CVE-2022-32511