cbcvebase.
CVE-2021-3762
published 2022-03-03

CVE-2021-3762: 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…

PriorityP264critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
4.51%
90.4th percentile
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.

Affected

8 ranges
VendorProductVersion rangeFixed in
github.comquay_claircore>= 0 < 0.4.80.4.8
github.comquay_claircore>= 0 < 1.1.01.1.0
github.comquay_claircore>= 0.5.0 < 0.5.50.5.5
github.comquay_claircore>= 1.0.0 < 1.1.01.1.0
quayclaircore
redhatclair>= 0.4.6 < 0.4.80.4.8
redhatclair>= 0.5.3 < 0.5.50.5.5
redhatquay

Detection & IOCsextracted from sources · hover to see the quote

  • Vulnerability is triggered when Clair/ClairCore scans a crafted container image layer containing directory traversal sequences, resulting in arbitrary file writes on the filesystem. Monitor Clair scan activity for unexpected file creation outside expected paths.
  • The attack vector is a malicious container image layer submitted for scanning. Inspect container image layers for path traversal sequences (e.g., '../') in filenames or archive entries before ingestion by ClairCore.
  • ·Only Red Hat Quay version 3.5.6 is affected. All previous released versions of Red Hat Quay are not affected.
  • ·In Red Hat Quay deployments, Clair runs as the 'nobody' user in an unprivileged container, which limits the impact to modification of non-sensitive files within that container — reducing the effective severity from Critical (ClairCore engine) to Important (Red Hat Quay product).
  • ·Red Hat Advanced Cluster Security and Quay.io are confirmed NOT affected by this vulnerability.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
vendor_redhat9.8CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.