CVE-2021-3762Redhat Clair
Critical 9.8 No auth needed
Follow: this CVE · Redhat · Redhat Clair We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.8% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Mar 3, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Clair.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/quay/claircore |
< 0.4.8 |
0.4.8 |
go get github.com/quay/claircore@v0.4.8 |
| Go | github.com/quay/claircore |
≥ 1.0.0 < 1.1.0 |
1.1.0 |
go get github.com/quay/claircore@v1.1.0 |
| Go | github.com/quay/claircore |
≥ 0.5.0 < 0.5.5 |
0.5.5 |
go get github.com/quay/claircore@v0.5.5 |
| Go | github.com/quay/claircore |
< 1.1.0 |
1.1.0 |
go get github.com/quay/claircore@v1.1.0 |
Per OSV / GitHub Advisories (GHSA-mq47-6wwv-v79w, GO-2022-0346). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | clair | ≥ 0.4.6 < 0.4.8 |
| redhat | clair | ≥ 0.5.3 < 0.5.5 |
| redhat | quay | 3.5.6 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- vulmon.com Exploit Third Party Advisory