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

exploitDog

redhat логотип

CVE-2023-5752

Опубликовано: 25 окт. 2023
Источник: redhat
CVSS3: 3.3
EPSS Низкий

Описание

When installing a package from a Mercurial VCS URL (ie "pip install hg+...") with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the "hg clone" call (ie "--config"). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren't installing from Mercurial.

A flaw was found in the Python pip package. The pip could allow a local authenticated attacker to bypass security restrictions due to a flaw when installing a package from a Mercurial VCS URL. By sending a specially crafted request, an attacker can inject arbitrary configuration options to the "hg clone" call to modify how and which repository is installed.

Отчет

Mercurial is not available in RHEL 8 and 9, so the vulnerability cannot be exploited. Without mercurial installed (the hg command), pip cannot clone and install from hg+http[s] URLs.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Ansible Automation Platform 1.2ansible-towerNot affected
Red Hat Ansible Automation Platform 2python3x-pyrsistentNot affected
Red Hat Enterprise Linux 7python-pipOut of support scope
Red Hat Enterprise Linux 8python-pipNot affected
Red Hat Enterprise Linux 9python-pipNot affected
Red Hat Enterprise Linux 9python-pyrsistentFix deferred
Red Hat OpenShift Dev Spacesdevspaces/udi-rhel8Fix deferred
Red Hat Quay 3quay/quay-rhel8Fix deferred
Service Telemetry Framework 1.5stf/prometheus-webhook-snmp-rhel8Not affected
Red Hat Ansible Automation Platform 2.4 for RHEL 8automation-controllerFixedRHSA-2024:378110.06.2024

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

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

Статус:

Low
Дефект:
CWE-77
https://bugzilla.redhat.com/show_bug.cgi?id=2250765pip: Mercurial configuration injectable in repo revision when installing via pip

EPSS

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

3.3 Low

CVSS3

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

CVSS3: 5.5
ubuntu
около 2 лет назад

When installing a package from a Mercurial VCS URL (ie "pip install hg+...") with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the "hg clone" call (ie "--config"). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren't installing from Mercurial.

CVSS3: 5.5
nvd
около 2 лет назад

When installing a package from a Mercurial VCS URL (ie "pip install hg+...") with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the "hg clone" call (ie "--config"). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren't installing from Mercurial.

CVSS3: 3.3
msrc
6 месяцев назад

Описание отсутствует

CVSS3: 5.5
debian
около 2 лет назад

When installing a package from a Mercurial VCS URL (ie "pip install ...

suse-cvrf
больше 1 года назад

Security update for python312-pip

EPSS

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

3.3 Low

CVSS3