CVE-2021-3762
publishedquay/claircore: directory traversal when scanning crafted container image layer allows for arbitrary file write
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | quay/claircoreAffects v0.4.6 and higher, v0.5.3 and higher | Fixedin claircore v0.4.8, v0.5.5. | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | quay/claircore | Affects v0.4.6 and higher, v0.5.3 and higher | Fixedin claircore v0.4.8, v0.5.5. (affected) | redhat · cna |
Weaknesses
1- CWE-22 CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
6- 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/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821
- https://github.com/quay/claircore/pull/478
- https://vulmon.com/exploitdetails?qidtp=maillist_oss_security&qid=d19fce9ede06e13dfb5630ece7f14f83
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 070ecffd4cbaeaa9575aa96fb24f7327e472b0c83e83bec9854686d1aa98eacf
- Ingested
- 23 Sep 2026, 07:55:51 UTC
- Source record
- Official CVE record