CVE-2021-3762
quay/claircore: directory traversal when scanning crafted container image layer allows for arbitrary file write
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: NVD, Red Hat. Daha düşük diyenler: GHSA (yüksek).
Açıklama
A directory traversal vulnerability was found in the ClairCore engine of Clair. An attacker can exploit this by supplying a crafted container image which, when scanned by Clair, allows for arbitrary file write on the filesystem, potentially allowing for remote code execution.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/quay/claircore | 0.4.8, 1.1.0, 0.5.5 |
Referanslar
- https://access.redhat.com/security/cve/CVE-2021-3762
- https://bugzilla.redhat.com/show_bug.cgi?id=2000795
- https://github.com/quay/clair/pull/1379
- https://github.com/quay/clair/pull/1380
- https://github.com/quay/claircore
- https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821
- https://github.com/quay/claircore/commit/dff671c665141f126c072de8a744855d4916c9c7
- https://github.com/quay/claircore/commit/ed5f52aec1c82746725e9cc23e98316eab8be25a
16 referansın hepsi
- https://github.com/quay/claircore/commits/v0.4.8
- https://github.com/quay/claircore/commits/v0.5.5
- https://github.com/quay/claircore/commits/v1.1.0
- https://github.com/quay/claircore/pull/478
- https://nvd.nist.gov/vuln/detail/CVE-2021-3762
- https://pkg.go.dev/vuln/GO-2022-0346
- https://vulmon.com/exploitdetails?qidtp=maillist_oss_security&qid=d19fce9ede06e13dfb5630ece7f14f83
- https://www.cve.org/CVERecord?id=CVE-2021-3762