CVE-2021-23820
json-pointer: type confusion vulnerability can lead to a bypass of CVE-2020-7709 when the pointer components are arrays
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (medium), Red Hat (medium).
Description
This affects all versions of package json-pointer. A type confusion vulnerability can lead to a bypass of CVE-2020-7709 when the pointer components are arrays.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| chainguard | py3-jsonpointer | 0 |
| npm::GitHub Security Advisory npm | json-pointer | 0.6.2 |
| wolfi | py3-jsonpointer | 0 |
References
- https://access.redhat.com/security/cve/CVE-2021-23820
- https://github.com/manuelstofer/json-pointer
- https://github.com/manuelstofer/json-pointer/blob/master/index.js%23L78
- https://github.com/manuelstofer/json-pointer/commit/931b0f9c7178ca09778087b4b0ac7e4f505620c2
- https://github.com/manuelstofer/json-pointer/pull/36
- https://nvd.nist.gov/vuln/detail/CVE-2021-23820
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1910686
- https://snyk.io/vuln/SNYK-JS-JSONPOINTER-1577287