9.8critical
Path traversal in claircore
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 4.81% (higher than 92% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-mq47-6wwv-v79wGO-2022-0346
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
| Product or package | Versions | Reported by |
|---|---|---|
| quay/claircore | Affects v0.4.6 and higher, v0.5.3 and higher | Fixedin claircore v0.4.8, v0.5.5. | CVE List |
| github.com/quay/claircore (Go) | before 0.4.8, from 1.0.0 before 1.1.0, from 0.5.0 before 0.5.5, before 1.1.0 | GitHub Advisory Database, Go Vulnerability Database |
| redhat clair | from 0.4.6 before 0.4.8, from 0.5.3 before 0.5.5 | NVD |
| redhat quay | 3.5.6 | NVD |
All scores
| GitHub | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
Go Vulnerability Database
A maliciously crafted RPM file can cause the Scanner.Scan function to write files with arbitrary contents to arbitrary locations on the local filestem.
NVD (es)
Se ha encontrado una vulnerabilidad de salto de directorio en el motor ClairCore de Clair. Un atacante puede explotar esto al suministrar una imagen de contenedor diseñada que, cuando es escaneada por Clair, permite una escritura de archivos arbitrarios en el sistema de archivos, permitiendo potencialmente una ejecución de código remota
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3762 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mq47-6wwv-v79w changed 2023-11-08 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0346 changed 2024-05-20 | CC-BY-4.0 |
| NVD | CVE-2021-3762 changed 2026-06-17 | Public domain |