Live threats

All CVEs / Redhat

CVE-2021-3762Redhat Clair

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Clair.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
redhatclair≥ 0.4.6 < 0.4.8
redhatclair≥ 0.5.3 < 0.5.5
redhatquay3.5.6

Official sources

References

Links published by the sources. Open them with care.