CVE-2021-3762
CRITICAL 9.8CVSS 3.1Path traversal in claircore
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.
- Published
- 3 Mar 2022
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-mq47-6wwv-v79wGO-2022-0346
- Sources
- NVDJSONOSV GHSA-mq47-6wwv-v79wJSONOSV GO-2022-0346JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | claircpe:2.3:a:redhat:clair:*:*:*:*:*:*:*:* |
>= 0.4.6, < 0.4.8 | 0.4.8 |
| NVD | redhat | claircpe:2.3:a:redhat:clair:*:*:*:*:*:*:*:* |
>= 0.5.3, < 0.5.5 | 0.5.5 |
| NVD | redhat | quaycpe:2.3:a:redhat:quay:3.5.6:*:*:*:*:*:*:* |
= 3.5.6 | |
| OSV | Go | github.com/quay/claircore | < 0.4.8 | 0.4.8 |
| OSV | Go | github.com/quay/claircore | >= 1.0.0, < 1.1.0 | 1.1.0 |
| OSV | Go | github.com/quay/claircore | >= 0.5.0, < 0.5.5 | 0.5.5 |
| OSV | Go | github.com/quay/claircore | < 1.1.0 | 1.1.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2000795 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/quay/clair/pull/1379 · Patch, Third Party Advisory, WEB
- https://github.com/quay/clair/pull/1380 · Patch, Third Party Advisory, WEB
- https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/quay/claircore/pull/478 · Patch, Third Party Advisory, WEB, FIX
- https://vulmon.com/exploitdetails?qidtp=maillist_oss_security&qid=d19fce9ede06e13dfb5630ece7f14f83 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-3762 · ADVISORY
- https://github.com/quay/claircore/commit/dff671c665141f126c072de8a744855d4916c9c7 · WEB
- https://github.com/quay/claircore/commit/ed5f52aec1c82746725e9cc23e98316eab8be25a · WEB
- https://github.com/quay/claircore · PACKAGE
- https://github.com/quay/claircore/commits/v0.4.8 · WEB
- https://github.com/quay/claircore/commits/v0.5.5 · WEB
- https://github.com/quay/claircore/commits/v1.1.0 · WEB
- https://pkg.go.dev/vuln/GO-2022-0346 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 3 Mar 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Jul 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 4 Mar 2022)