GitHub Advisoryadvisory · Go

GHSA-mq47-6wwv-v79w Path traversal in claircore

HIGH Published 2022-03-04 Modified 2022-03-18 Official page ↗
Aliases
CVE-2021-3762
Ecosystem
Go
Packages
github.com/quay/claircore
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-22
Reviewed
2022-03-18

Affected packages

• Go github.com/quay/claircore: < 0.4.8 → fixed in 0.4.8 • Go github.com/quay/claircore: >= 1.0.0, < 1.1.0 → fixed in 1.1.0 • Go github.com/quay/claircore: >= 0.5.0, < 0.5.5 → fixed in 0.5.5

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.

Related

Alias · CVE (1)

  • CVE-2021-3762 A directory traversal vulnerability was found in the ClairCore engine of Clair. vulnerability

Weakness · CWE (1)

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

References