{"id":"CVE-2019-7282","aliases":["DEBIAN-CVE-2019-7282","DLA-2822-1","EUVD-2019-16826","GHSA-xrxr-vcvh-gm7h","MGASA-2021-0525","UBUNTU-CVE-2019-7282","USN-5327-1"],"status":"published","title":"In NetKit through 0.17, rcp.c in the rcp client allows remote rsh servers to bypass intended...","description":"In NetKit through 0.17, rcp.c in the rcp client allows remote rsh servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side. This is similar to CVE-2018-20685.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02067,"percentile":0.81539,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2019-01-31T18:00:00Z","modified":"2026-09-21T07:03:23Z","fixes":[{"ecosystem":"Debian:12","package":"netkit-rsh","fixed_in":["0.17-20"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"netkit-rsh","fixed_in":["0.17-17ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"netkit-rsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.17-20"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"netkit-rsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.17-17+deb9u1"}]}],"versions":["0.17-17"],"bundled":2},{"source":"osv","ecosystem":"Mageia:8","package":"rsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.17-36.1.mga8"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"netkit-rsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.17-15"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"netkit-rsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.17-17ubuntu0.1"}]}],"versions":["0.17-17"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"netkit-rsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.17-17ubuntu0.1"}]}],"versions":["0.17-17"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"netkit","product":"netkit"}],"references":[{"url":"https://bugs.debian.org/920486","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt","tags":["x_refsource_MISC","x_transferred","Not Applicable","advisory","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/11/msg00016.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FSEX3TKX2DBUKG4A7VJFDLSMZIBJQZ3G/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NA24VQJATZWYV42JG2PQUW7IHIZS7UKP/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DU33YVEDGFDMAZPSRQTRVKSKG4FAX7QB/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-7282"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DU33YVEDGFDMAZPSRQTRVKSKG4FAX7QB/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FSEX3TKX2DBUKG4A7VJFDLSMZIBJQZ3G/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NA24VQJATZWYV42JG2PQUW7IHIZS7UKP/"},{"url":"https://github.com/advisories/GHSA-xrxr-vcvh-gm7h"},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-7282","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0525.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29675","tags":["report"]},{"url":"https://www.debian.org/lts/security/2021/dla-2822","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2019-7282","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5327-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-7282","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-7282","description":"In NetKit through 0.17, rcp.c in the rcp client allows remote rsh servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side. This is similar to CVE-2018-20685.","status":"published","published":"2019-01-31T18:00:00Z","modified":"2024-08-04T20:46:45.917Z","updated_at":"2026-11-02T14:32:22.854093Z"}],"euvd":[{"id":"EUVD-2019-16826","description":"In NetKit through 0.17, rcp.c in the rcp client allows remote rsh servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side. This is similar to CVE-2018-20685.","status":"published","published":"2019-01-31T18:00:00Z","modified":"2024-08-04T20:46:45Z","updated_at":"2026-11-03T03:06:46.489173Z"}],"ghsa":[{"id":"GHSA-xrxr-vcvh-gm7h","title":"In NetKit through 0.17, rcp.c in the rcp client allows remote rsh servers to bypass intended...","description":"In NetKit through 0.17, rcp.c in the rcp client allows remote rsh servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side. This is similar to CVE-2018-20685.","status":"published","published":"2022-04-30T00:02:14Z","modified":"2023-01-30T05:04:23Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T14:47:02.242952Z"}],"nvd":[{"id":"CVE-2019-7282","description":"In NetKit through 0.17, rcp.c in the rcp client allows remote rsh servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side. This is similar to CVE-2018-20685.","status":"published","published":"2019-01-31T18:29:00.913Z","modified":"2026-06-17T02:40:22.963Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:05:02.989216Z"}],"osv":[{"id":"CVE-2019-7282","description":"In NetKit through 0.17, rcp.c in the rcp client allows remote rsh servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side. This is similar to CVE-2018-20685.","status":"published","published":"2019-01-31T18:29:00.913Z","modified":"2026-04-16T04:41:35.177227956Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:12.675558Z"},{"id":"DEBIAN-CVE-2019-7282","description":"In NetKit through 0.17, rcp.c in the rcp client allows remote rsh servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side. This is similar to CVE-2018-20685.","status":"published","published":"2019-01-31T18:29:00.913Z","modified":"2026-09-21T07:03:23.46110052Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:32.57265Z"},{"id":"UBUNTU-CVE-2019-7282","description":"In NetKit through 0.17, rcp.c in the rcp client allows remote rsh servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side. This is similar to CVE-2018-20685.","status":"published","published":"2019-01-31T18:29:00Z","modified":"2026-02-04T02:53:03.51163Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:21.741399Z"},{"id":"DLA-2822-1","title":"netkit-rsh - security update","status":"published","published":"2021-11-19T00:00:00Z","modified":"2026-03-09T01:21:39.649251Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"MGASA-2021-0525","title":"Updated rsh packages fix security vulnerability","description":"In NetKit through 0.17, rcp.c in the rcp client allows remote rsh servers\nto bypass intended access restrictions via the filename of . or an empty\nfilename. The impact is modifying the permissions of the target directory\non the client side. This is similar to CVE-2018-20685. (CVE-2019-7282)\n\nAn issue was discovered in rcp in NetKit through 0.17. For an rcp\noperation, the server chooses which files/directories are sent to the\nclient. However, the rcp client only performs cursory validation of the\nobject name returned. A malicious rsh server (or Man-in-The-Middle\nattacker) can overwrite arbitrary files in a directory on the rcp client\nmachine. This is similar to CVE-2019-6111. (CVE-2019-7283).\n","status":"published","published":"2021-11-25T13:06:13Z","modified":"2026-04-16T04:41:30.100682445Z","updated_at":"2026-11-02T15:49:41.849028Z"},{"id":"USN-5327-1","title":"netkit-rsh vulnerability","description":"Hiroyuki Yamamori discovered that rsh incorrectly handled certain\nfilenames. If a user or automated system were tricked into connecting to a\nmalicious rsh server, a remote attacker could possibly use this issue to\nmodify directory permissions.\n","status":"published","published":"2022-03-15T13:16:11Z","modified":"2026-04-27T16:20:25.631904Z","updated_at":"2026-11-02T16:58:15.683829Z"}]}}
