Описание
In OpenSSH before 10.3, a file downloaded by scp may be installed setuid or setgid, an outcome contrary to some users' expectations, if the download is performed as root with -O (legacy scp protocol) and without -p (preserve mode).
A flaw was found in OpenSSH. When the scp command is used by a root user to download a file with the legacy protocol option (-O) and without preserving original file permissions (-p), the downloaded file can be installed with elevated privileges (setuid or setgid). This unexpected behavior could allow a malicious file to execute with higher permissions than intended, posing a security risk through potential privilege escalation.
Отчет
This vulnerability is rated as an Important severity flaw because an untrusted remote system can deliver arbitrary setuid or setgid binaries to the local filesystem, resulting in root privilege escalation. Exploitation requires specific preconditions: an administrative user must run the file copy utility with root privileges while deliberately invoking the legacy transfer protocol and omitting preservation of file attributes. Because modern Red Hat Enterprise Linux releases utilize the SFTP-based backend by default, standard client invocations are not exposed unless backward-compatibility modes are explicitly enabled.
Меры по смягчению последствий
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.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Multicluster Engine for Kubernetes | multicluster-engine/hive-rhel9 | Affected | ||
| OpenShift Pipelines | openshift-pipelines/pipelines-resolvers-rhel9 | Under investigation | ||
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/multicluster-operators-subscription-rhel9 | Affected | ||
| Red Hat Enterprise Linux 10 | openssh | Fixed | RHSA-2026:13380 | 04.05.2026 |
| Red Hat Enterprise Linux 10 | openssh | Fixed | RHSA-2026:19069 | 19.05.2026 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | openssh | Fixed | RHSA-2026:12389 | 30.04.2026 |
| Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION | openssh | Fixed | RHSA-2026:25063 | 10.06.2026 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | openssh | Fixed | RHSA-2026:22468 | 02.06.2026 |
| Red Hat Enterprise Linux 8 | openssh | Fixed | RHSA-2026:13383 | 04.05.2026 |
| Red Hat Enterprise Linux 8 | openssh | Fixed | RHSA-2026:13383 | 04.05.2026 |
Показывать по
Дополнительная информация
Статус:
EPSS
7.5 High
CVSS3
Связанные уязвимости
In OpenSSH before 10.3, a file downloaded by scp may be installed setuid or setgid, an outcome contrary to some users' expectations, if the download is performed as root with -O (legacy scp protocol) and without -p (preserve mode).
In OpenSSH before 10.3, a file downloaded by scp may be installed setuid or setgid, an outcome contrary to some users' expectations, if the download is performed as root with -O (legacy scp protocol) and without -p (preserve mode).
In OpenSSH before 10.3, a file downloaded by scp may be installed setuid or setgid, an outcome contrary to some users' expectations, if the download is performed as root with -O (legacy scp protocol) and without -p (preserve mode).
In OpenSSH before 10.3, a file downloaded by scp may be installed setu ...
EPSS
7.5 High
CVSS3