Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-hmq4-c2r4-5q8h

Опубликовано: 19 окт. 2023
Источник: github
Github: Прошло ревью
CVSS3: 7.5

Описание

Artifact Hub arbitrary file read vulnerability

Impact

During a security audit of Artifact Hub's code base, a security researcher at OffSec identified a bug in which by using symbolic links in certain kinds of repositories loaded into Artifact Hub, it was possible to read internal files.

Artifact Hub indexes content from a variety of sources, including git repositories. When processing git based repositories, Artifact Hub clones the repository and, depending on the artifact kind, reads some files from it. During this process, in some cases, no validation was done to check if the file was a symbolic link. This made possible to read arbitrary files in the system, potentially leaking sensitive information.

Patches

This issue has been resolved in version 1.16.0.

Пакеты

Наименование

github.com/artifacthub/hub

go
Затронутые версииВерсия исправления

< 1.16.0

1.16.0

EPSS

Процентиль: 29%
0.00105
Низкий

7.5 High

CVSS3

Дефекты

CWE-22

Связанные уязвимости

CVSS3: 7.5
nvd
больше 2 лет назад

Artifact Hub is a web-based application that enables finding, installing, and publishing packages and configurations for CNCF projects. During a security audit of Artifact Hub's code base a security researcher identified a bug in which by using symbolic links in certain kinds of repositories loaded into Artifact Hub, it was possible to read internal files. Artifact Hub indexes content from a variety of sources, including git repositories. When processing git based repositories, Artifact Hub clones the repository and, depending on the artifact kind, reads some files from it. During this process, in some cases, no validation was done to check if the file was a symbolic link. This made possible to read arbitrary files in the system, potentially leaking sensitive information. This issue has been resolved in version `1.16.0`. Users are advised to upgrade. There are no known workarounds for this vulnerability.

EPSS

Процентиль: 29%
0.00105
Низкий

7.5 High

CVSS3

Дефекты

CWE-22