Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | quay/claircore | Affects v0.4.6 and higher, v0.5.3 and higher | Fixedin claircore v0.4.8, v0.5.5. | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/quay/claircore | < 0.4.8 | 0.4.8 | GHSA-mq47-6wwv-v79w |
| Go | github.com/quay/claircore | >= 1.0.0, < 1.1.0 | 1.1.0 | GHSA-mq47-6wwv-v79w |
| Go | github.com/quay/claircore | >= 0.5.0, < 0.5.5 | 0.5.5 | GHSA-mq47-6wwv-v79w |
| Go | github.com/quay/claircore | < 1.1.0 | 1.1.0 | GO-2022-0346 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2000795
- https://github.com/quay/claircore/pull/478
- https://github.com/quay/clair/pull/1379
- https://github.com/quay/clair/pull/1380
- https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821
- https://vulmon.com/exploitdetails?qidtp=maillist_oss_security&qid=d19fce9ede06e13dfb5630ece7f14f83