CVE-2019-3464
Insufficient sanitization of environment variables passed to rsync can bypass the restrictions imposed by rssh, a restricted shell that should restrict users to perform only rsync operations, resulting in the execution of arbitrary shell commands.
What to do
Fixed builds are available from Alpine, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | rssh | Fixed | 2.3.4-7ubuntu0.1 | UBUNTU-CVE-2019-3464 |
| Ubuntu 16.04 | rssh | Fixed | 2.3.4-4+deb8u2ubuntu0.16.04.2 | UBUNTU-CVE-2019-3464 |
| Ubuntu 14.04 | rssh | Fixed | 2.3.4-4+deb8u2ubuntu0.14.04.2 | UBUNTU-CVE-2019-3464 |
| Alpine Linux 3.22 | rssh | Fixed | 2.3.4-r1 | ALPINE-CVE-2019-3464 |
| Alpine Linux 3.21 | rssh | Fixed | 2.3.4-r1 | ALPINE-CVE-2019-3464 |
| Alpine Linux 3.20 | rssh | Fixed | 2.3.4-r1 | ALPINE-CVE-2019-3464 |
| Alpine Linux 3.19 | rssh | Fixed | 2.3.4-r1 | ALPINE-CVE-2019-3464 |
| Alpine Linux 3.18 | rssh | Fixed | 2.3.4-r1 | ALPINE-CVE-2019-3464 |
| Alpine Linux 3.17 | rssh | Fixed | 2.3.4-r1 | ALPINE-CVE-2019-3464 |
| Alpine Linux 3.16 | rssh | Fixed | 2.3.4-r1 | ALPINE-CVE-2019-3464 |
| Alpine Linux 3.15 | rssh | Fixed | 2.3.4-r1 | ALPINE-CVE-2019-3464 |
| Alpine Linux 3.14 | rssh | Fixed | 2.3.4-r1 | ALPINE-CVE-2019-3464 |
| Alpine Linux 3.13 | rssh | Fixed | 2.3.4-r1 | ALPINE-CVE-2019-3464 |
What the vendor says
As published in the CVE record by debian, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Debian GNU/Linux rssh: affected: All versions before 2.3.4-5+deb9u2 and 2.3.4-10
Vendor advisories:
- https://www.debian.org/security/2019/dsa-4382 (vendor-advisory)
- https://usn.ubuntu.com/3946-1/ (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202007-29 (vendor-advisory)
References
- https://www.debian.org/security/2019/dsa-4382
- https://lists.debian.org/debian-lts-announce/2019/02/msg00007.html
- http://www.securityfocus.com/bid/106839
- https://tracker.debian.org/news/1026713/accepted-rssh-234-5deb9u2-source-amd64-into-stable-embargoed-stable/
- https://usn.ubuntu.com/3946-1/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HO3MDU3AH5SLYBKHH5PJ6PHC63ASIF42/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T42YYNWJZG422GATWAHAEK4A24OKY557/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KR2OHTHMJVV4DO3HDRFQQZ5JENHDJQEN/
- https://security.gentoo.org/glsa/202007-29
- http://seclists.org/fulldisclosure/2021/May/78
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.