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

exploitDog

nvd логотип

CVE-2022-39253

Опубликовано: 19 окт. 2022
Источник: nvd
CVSS3: 5.5
EPSS Низкий

Уязвимость раскрытия конфиденциальной информации при клонировании репозитория в Git

Описание

Git позволяет злоумышленнику получить доступ к конфиденциальной информации на устройстве жертвы при клонировании репозитория. Эта уязвимость проявляется, когда выполняется локальное клонирование репозитория (когда источник и цель клонирования находятся на одном диске). В таких случаях Git копирует содержимое каталога $GIT_DIR/objects источника в целевую директорию, создавая жёсткие ссылки на данные источника или копируя их (если жёсткие ссылки отключены с помощью --no-hardlinks). Злоумышленник может убедить жертву клонировать репозиторий, содержащий символическую ссылку, указывающую на конфиденциальную информацию на устройстве жертвы. Это может быть выполнено двумя способами: либо жертва клонирует вредоносный репозиторий на той же машине, либо клонирует вредоносный репозиторий, внедрённый как пустой репозиторий через подмодуль с любого источника, если они используют опцию --recurse-submodules.

Затронутые версии ПО

  • Git до 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, 2.37.4

Тип уязвимости

Раскрытие конфиденциальной информации

Ссылки

Уязвимые конфигурации

Конфигурация 1

Одно из

cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
Версия до 2.30.6 (исключая)
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
Версия от 2.31.0 (включая) до 2.31.5 (исключая)
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
Версия от 2.32.0 (включая) до 2.32.4 (исключая)
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
Версия от 2.33.0 (включая) до 2.33.5 (исключая)
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
Версия от 2.34.0 (включая) до 2.34.5 (исключая)
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
Версия от 2.35.0 (включая) до 2.35.5 (исключая)
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
Версия от 2.36.0 (включая) до 2.36.3 (исключая)
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
Версия от 2.37.0 (включая) до 2.37.4 (исключая)
cpe:2.3:a:git-scm:git:2.38.0:*:*:*:*:*:*:*
Конфигурация 2

Одно из

cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
Конфигурация 3
cpe:2.3:a:apple:xcode:*:*:*:*:*:*:*:*
Версия до 14.1 (исключая)
Конфигурация 4
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

EPSS

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

5.5 Medium

CVSS3

Дефекты

CWE-200
CWE-59

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

CVSS3: 5.5
ubuntu
больше 2 лет назад

Git is an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (where the source and target of the clone are on the same volume), Git copies the contents of the source's `$GIT_DIR/objects` directory into the destination by either creating hardlinks to the source contents, or copying them (if hardlinks are disabled via `--no-hardlinks`). A malicious actor could convince a victim to clone a repository with a symbolic link pointing at sensitive information on the victim's machine. This can be done either by having the victim clone a malicious repository on the same machine, or having them clone a malicious repository embedded as a bare repository via a submodule from any source, provided they clone with the `--recurse-submodules` option. Git does not create symbolic links in the `$GIT_DIR/objects...

CVSS3: 5.5
redhat
больше 2 лет назад

Git is an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (where the source and target of the clone are on the same volume), Git copies the contents of the source's `$GIT_DIR/objects` directory into the destination by either creating hardlinks to the source contents, or copying them (if hardlinks are disabled via `--no-hardlinks`). A malicious actor could convince a victim to clone a repository with a symbolic link pointing at sensitive information on the victim's machine. This can be done either by having the victim clone a malicious repository on the same machine, or having them clone a malicious repository embedded as a bare repository via a submodule from any source, provided they clone with the `--recurse-submodules` option. Git does not create symbolic links in the `$GIT_DIR/objects...

msrc
больше 2 лет назад

GitHub: CVE-2022-39253 Local clone optimization dereferences symbolic links by default

CVSS3: 5.5
debian
больше 2 лет назад

Git is an open source, scalable, distributed revision control system. ...

suse-cvrf
больше 2 лет назад

Security update for git

EPSS

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

5.5 Medium

CVSS3

Дефекты

CWE-200
CWE-59