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

exploitDog

redhat логотип

CVE-2019-3902

Опубликовано: 13 мар. 2019
Источник: redhat
CVSS3: 5.1

Описание

A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository.

Starting with version 1.5.3, Mercurial allows environment variable expansion on path names for sub repositories when creating it or cloning a parent repository, but it doesn't validate whether the final path name outside the repository root directory. An attacker can leverage this weakness using a combination of symbolic links and environment variables to craft a tampered repository, leading Mercurial to write files outside the repository as long the destination location is empty.

Отчет

This issue affects the versions of mercurial as shipped with Red Hat Enterprise Linux 7. Red Hat Product Security has rated this issue as having a security impact of Moderate. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Ansible Tower 3mercurialNot affected
Red Hat Enterprise Linux 6mercurialNot affected
Red Hat Enterprise Linux 7mercurialWill not fix
Red Hat Enterprise Linux 8mercurialWill not fix

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-22
https://bugzilla.redhat.com/show_bug.cgi?id=1696025mercurial: Path-checking logic bypass via symlinks and subrepositories

5.1 Medium

CVSS3

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

CVSS3: 5.1
ubuntu
почти 7 лет назад

A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository.

CVSS3: 5.1
nvd
почти 7 лет назад

A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository.

CVSS3: 5.1
debian
почти 7 лет назад

A flaw was found in Mercurial before 4.9. It was possible to use symli ...

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

Security update for mercurial

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

Security update for mercurial

5.1 Medium

CVSS3