CVE-2021-3762
Path 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2021-3762- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-3762- Weakness
- CWE-22
- Updated
- 2026-11-02
EUVDEUVD-2022-1483 No score
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.
- Record
EUVD-2022-1483- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mq47-6wwv-v79w
7.8
Path 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.
- Record
GHSA-mq47-6wwv-v79w- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-22
- Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2021-3762- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-mq47-6wwv-v79w
7.8
Path 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.
- Record
GHSA-mq47-6wwv-v79w- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVGO-2022-0346 No score
Path traversal in github.com/quay/claircore
A maliciously crafted RPM file can cause the Scanner.Scan function to write files with arbitrary contents to arbitrary locations on the local filestem.
- Record
GO-2022-0346- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/quay/claircoreGo |
before 0.4.8 | 0.4.8 |
github.com/quay/claircoreGo |
1.0.0 up to 1.1.0 | 1.1.0 |
github.com/quay/claircoreGo |
0.5.0 up to 0.5.5 | 0.5.5 |
github.com/quay/claircoreGo |
before 1.1.0 | 1.1.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-3762 is a critical vulnerability (CVSS 9.8) in Redhat Clair, published March 3, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.81%, the 92nd percentile. Fixed in github.com/quay/claircore 0.4.8.
References
bugzilla.redhat.com/show_bug.cgi?id=2000795
github.com/quay/claircore/pull/478
github.com/quay/clair/pull/1379
github.com/quay/clair/pull/1380
github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821
vulmon.com/exploitdetails?qidtp=maillist_oss_security&qid=d19fce9ede06e13dfb5630ece7f14f83
Show 9 moreShow less
nvd.nist.gov/vuln/detail/CVE-2021-3762
github.com/quay/claircore/commit/dff671c665141f126c072de8a744855d4916c9c7
github.com/quay/claircore/commit/ed5f52aec1c82746725e9cc23e98316eab8be25a
github.com/quay/claircore/commits/v0.4.8
github.com/quay/claircore/commits/v0.5.5
github.com/quay/claircore/commits/v1.1.0
pkg.go.dev/vuln/GO-2022-0346
github.com/advisories/GHSA-mq47-6wwv-v79w
github.com/quay/claircore