Описание
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 5 | cpio | Out of support scope | ||
| Red Hat Enterprise Linux 6 | cpio | Out of support scope | ||
| Red Hat Enterprise Linux 7 | cpio | Fixed | RHSA-2020:3908 | 29.09.2020 |
| Red Hat Enterprise Linux 8 | cpio | Fixed | RHSA-2021:1582 | 18.05.2021 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | cpio | Fixed | RHSA-2022:0073 | 11.01.2022 |
| Red Hat OpenShift Do | openshiftdo/odo-init-image-rhel7 | Fixed | RHSA-2021:0949 | 22.03.2021 |
Показывать по
Дополнительная информация
Статус:
6.7 Medium
CVSS3
Связанные уязвимости
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.
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.
In all versions of cpio before 2.13 does not properly validate input f ...
6.7 Medium
CVSS3