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

exploitDog

redhat логотип

CVE-2019-14866

Опубликовано: 30 авг. 2019
Источник: redhat
CVSS3: 6.7

Описание

In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions the attacker did not have or in paths he did not have access to. Extracting those archives from a high-privilege user without carefully reviewing them may lead to the compromise of the system.

It was discovered cpio does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions the attacker did not have or in paths he did not have access to. Extracting those archives from a high-privilege user without carefully reviewing them may lead to the compromise of the system.

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

TAR archives should be inspected before being extracted and the extraction should be performed with the tar command or --no-absolute-filenames option if done with cpio. Moreover, it should be performed by a low-privilege user whenever possible, to prevent extraction of files that could compromise the system.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 5cpioOut of support scope
Red Hat Enterprise Linux 6cpioOut of support scope
Red Hat Enterprise Linux 7cpioFixedRHSA-2020:390829.09.2020
Red Hat Enterprise Linux 8cpioFixedRHSA-2021:158218.05.2021
Red Hat Enterprise Linux 8.2 Extended Update SupportcpioFixedRHSA-2022:007311.01.2022
Red Hat OpenShift Doopenshiftdo/odo-init-image-rhel7FixedRHSA-2021:094922.03.2021

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

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

Статус:

Moderate
Дефект:
CWE-20
https://bugzilla.redhat.com/show_bug.cgi?id=1765511cpio: improper input validation when writing tar header fields leads to unexpected tar generation

6.7 Medium

CVSS3

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

CVSS3: 7.3
ubuntu
почти 6 лет назад

In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions the attacker did not have or in paths he did not have access to. Extracting those archives from a high-privilege user without carefully reviewing them may lead to the compromise of the system.

CVSS3: 7.3
nvd
почти 6 лет назад

In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions the attacker did not have or in paths he did not have access to. Extracting those archives from a high-privilege user without carefully reviewing them may lead to the compromise of the system.

CVSS3: 7.3
debian
почти 6 лет назад

In all versions of cpio before 2.13 does not properly validate input f ...

suse-cvrf
около 6 лет назад

Security update for cpio

suse-cvrf
около 6 лет назад

Security update for cpio

6.7 Medium

CVSS3