Skip to content

CVE-2021-3762 Path traversal in claircore

CriticalCVSS 9.8 EPSS 4.8%
Published
Updated
Exploit status
No public exploit known
Technology
Red Hat

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
quay github.com/quay/claircore(Go) < 0.4.8; < 1.1.0; >= 0.5.0, < 0.5.5; >= 1.0.0, < 1.1.0 0.4.8, 0.5.5, 1.1.0 Fixed
redhat clair >= 0.4.6, < 0.4.8; >= 0.5.3, < 0.5.5 0.4.8, 0.5.5 Fixed
redhat quay = 3.5.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
quay github.com/quay/claircore(Go) < 0.4.8 0.4.8
quay github.com/quay/claircore(Go) >= 1.0.0, < 1.1.0 1.1.0
quay github.com/quay/claircore(Go) >= 0.5.0, < 0.5.5 0.5.5
quay github.com/quay/claircore(Go) < 1.1.0 1.1.0
redhat clair >= 0.4.6, < 0.4.8 0.4.8
redhat clair >= 0.5.3, < 0.5.5 0.5.5
redhat quay = 3.5.6 No fix listed

References