Skip to content
Fencer Vulns
critical 9.8

CVE-2021-3762 json

Path traversal in claircore

published 2022-03-03 4 y ago modified 2026-06-17 4 mo ago also GHSA-mq47-6wwv-v79w , GO-2022-0346 , EUVD-2022-1483

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.8%
EPSS 4.8% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

Summary

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.

Patch / fix

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-3762 updated cvss 7.5

quay/claircore: directory traversal when scanning crafted container image layer allows for arbitrary file write

  • Red Hat Quay v3 quay/clair-rhel8 v3.5.7-8
    fixed: vendor fix RHSA-2021:3665
  • Red Hat Quay v3 quay/quay-rhel8 v3.5.7-8, quay/quay-builder-rhel8 v3.5.7-8, quay/quay-operator-rhel8 v3.5.7-6, quay/quay-operator-bundle v3.5.7-6, quay/quay-bridge-operator-bundle v3.5.7-7, quay/quay-bridge-operator-rhel8 v3.5.7-11, +3 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.81% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • vulmon.com https://vulmon.com/exploitdetails?qidtp=maillist_oss_security&qid=d19fce9ede06e13dfb5630ece7f14f83 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/quay/claircore
<0.4.8
>=1.0.0, <1.1.0
>=0.5.0, <0.5.5
<1.1.0
0.4.8
1.1.0
0.5.5

Affected products

  • n/a quay/claircore

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.