Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-3762: A directory traversal vulnerability was found in the ClairCore engine of Clair

72
This week
CRITICAL 9.8REMOTEWATCHLISTUPGRADEDOWNGRADE

CVE-2021-3762 is a critical-severity flaw (CVSS 9.8) affecting clair, quay. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • EPSS top 8%: very likely to be exploited
  • Public exploit reference
  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance4.8% (top 8%)
CISA exploited listNo
WeaknessCWE-22
Published2022-03-03
Last modified2026-06-17
Publisher (CNA): Red Hat, Inc. · Vendor: redhat

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

redhat clair UPGRADE
Affected: >= 0.4.6 and < 0.4.8 · >= 0.5.3 and < 0.5.5
Fixed in: 0.4.8, 0.5.5
Safe to downgrade to: a release before 0.4.6
1. Check installed version
apt-cache policy clair || rpm -q clair || clair --version
2. UPGRADE to 0.4.8 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade clair
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade clair
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 0.4.6 (Debian / Ubuntu)
apt-cache madison clair sudo apt install clair=<VERSION_BEFORE_0.4.6> sudo apt-mark hold clair
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list clair sudo dnf downgrade clair-<VERSION_BEFORE_0.4.6> sudo dnf versionlock add clair
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
redhat quay DOWNGRADE
Affected: 3.5.6
Fixed in: no fixed release known
Safe to downgrade to: a release before 3.5.6
1. Check installed version
apt-cache policy quay || rpm -q quay || quay --version
2. No fixed release: DOWNGRADE to a release before 3.5.6 (Debian / Ubuntu)
apt-cache madison quay sudo apt install quay=<VERSION_BEFORE_3.5.6> sudo apt-mark hold quay
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list quay sudo dnf downgrade quay-<VERSION_BEFORE_3.5.6> sudo dnf versionlock add quay
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Go · github.com/quay/claircore · FIXED · 0.4.8 · vulnerable: < 0.4.8 · source
go get github.com/quay/claircore@v0.4.8 go list -m github.com/quay/claircore
Fedora 46 · nemo · FIXED · 6.8.0-1.fc46 · FEDORA-2026-0edead723f · source
sudo dnf upgrade --advisory=FEDORA-2026-0edead723f
Fedora ELN · composer · FIXED · 2.11.1-1.eln159 · FEDORA-2026-cb4f992456 · source
sudo dnf upgrade --advisory=FEDORA-2026-cb4f992456
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-3762?

clair: upgrade to 0.4.8, 0.5.5; quay: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2021-3762 being exploited?

CVE-2021-3762 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2021-3762 affect?

CVE-2021-3762 affects clair, quay. Severity is critical (CVSS 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

How urgent is CVE-2021-3762?

Priority 72/100. Critical severity; EPSS top 8%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.