Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
CRITICAL severity

CVE-2021-3762 — claircore

CRITICALFix: quay/clair#1379

CVE-2021-3762 is a critical-severity (CVSS 9.8) Path Traversal vulnerability in github.com/quay/claircore. 1 public exploit reference exists, so weaponization risk is real. A fix is available for github.com/quay/claircore — see the affected versions and patch details below.

Path traversal in claircore

Also known asGHSA-mq47-6wwv-v79wGO-2022-0346
Published
Updated
Affected
3 pkgs
Patched
3 / 3
Exploits
1 known
Exploitation data as of Oct 8, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
4.8%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs92th percentile — riskier than 92% of all scored CVEsHighest risk
3.27%5.48%7.69%9.90%8.7%4.8%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2021-3762 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,386 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

3 pkgs affected
🐹github.com/quay/claircore🐹github.com/quay/claircore🐹github.com/quay/claircore

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

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 Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/quay/claircoreall versions0.4.8go get github.com/quay/claircore@v0.4.8
🐹Gogithub.com/quay/claircore≥ 1.0.0&&< 1.1.01.1.0go get github.com/quay/claircore@v1.1.0
🐹Gogithub.com/quay/claircore≥ 0.5.0&&< 0.5.50.5.5go get github.com/quay/claircore@v0.5.5

Affected Products

2 products · 3 configurations
Application
clairredhat
≥ 0.5.3 && < 0.5.5
range
Application
quayredhat
1 version
3.5.6
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/quay/claircore, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update github.com/quay/claircore to 0.4.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-3762 is resolved across your whole dependency graph.

  3. Workarounds

    Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatCritical

Only a single version of Red Hat Quay, 3.5.6 is affected by this vulnerability. All previous released versions of Red Hat Quay are not affected by this vulnerability. The overall vulnerability is rated as Critical for the ClairCore engine, but only rated Important for the Red Hat Quay product. In Red Hat Quay, Clair…

Workaround published by Red Hat
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Source: Red Hat security advisory for CVE-2021-3762 (CC BY 4.0)
ProductFixed inAdvisory
Red Hat Quay 3quay/clair-rhel8:v3.5.7-8RHSA-2021:3665

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2021-3762 in your dependencies?

Find it across Go, including transitive dependencies.

CVE-2021-3762: claircore RCE — Fixed in 0.4.8