{"id":"CVE-2017-18018","aliases":["ALPINE-CVE-2017-18018","DEBIAN-CVE-2017-18018","DHI-spbq-qtc4-ishc-jxe5","UBUNTU-CVE-2017-18018"],"summary":"In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX \"-R -L\" options, which allows local users to modif...","published_at":"2017-12-20T00:00:00Z","modified_at":"2026-11-19T21:00:16.716655Z","products":[{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"high","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","attack_path":"local","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"SUSE","rating":"moderate"},{"source":"Ubuntu","rating":"low"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.003449999960139394,"percentile":0.28696998953819275,"date":"2026-11-19T00:00:00Z"},"priority":6.6,"details":"In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX \"-R -L\" options, which allows local users to modify the ownership of arbitrary files by leveraging a race condition.","affected_stack":[{"ecosystem":"Red Hat:rhel_els:4","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2017-18018","relation":"self"},{"ecosystem":"Red Hat:rhel_els:5","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2017-18018","relation":"self"},{"ecosystem":"Red Hat:rhel_els:6","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2017-18018","relation":"self"},{"ecosystem":"Red Hat:rhel_els:6","package":"coreutils-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2017-18018","relation":"self"},{"ecosystem":"Red Hat:rhel_els:7","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2017-18018","relation":"self"}],"affected_other":[{"ecosystem":"Alpine:v3.10","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.11","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.12","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.13","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.14","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.15","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.16","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.17","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.18","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.19","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.20","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.21","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.22","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.23","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.24","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.7","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.28-r0"}]}],"fixed":["8.28-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.8","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.29-r2"}]}],"fixed":["8.29-r2"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.9","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Debian:12","package":"coreutils","purl":"pkg:deb/debian/coreutils?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.1-1","9.10-1","9.4-1","9.4-2","9.4-3","9.4-3.1","9.5-1","9.6-1","9.6-2","9.7-1","9.7-2","9.7-3"],"provider":"osv","source":"DEBIAN-CVE-2017-18018","relation":"self"},{"ecosystem":"Debian:13","package":"coreutils","purl":"pkg:deb/debian/coreutils?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.10-1","9.7-3"],"provider":"osv","source":"DEBIAN-CVE-2017-18018","relation":"self"},{"ecosystem":"Debian:14","package":"coreutils","purl":"pkg:deb/debian/coreutils?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.10-1","9.7-3"],"provider":"osv","source":"DEBIAN-CVE-2017-18018","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"coreutils","purl":"pkg:deb/dhi/coreutils","versions":["9.7-3+deb13u0+dhi5","9.7-3+dhi1","9.7-3+dhi2","9.7-3+dhi3","9.7-3+dhi4","9.7-3+dhi5","9.7-3dhi0","9.7-3dhi1"],"provider":"osv","source":"DHI-spbq-qtc4-ishc-jxe5","relation":"self"},{"ecosystem":"NVD","package":"gnu:coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"8.29"}]}],"provider":"nvd","source":"CVE-2017-18018","relation":"self"},{"ecosystem":"Ubuntu:14.04:LTS","package":"coreutils","purl":"pkg:deb/ubuntu/coreutils@8.21-1ubuntu5.4?arch=source&distro=trusty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.20-3ubuntu5","8.21-1ubuntu3","8.21-1ubuntu4","8.21-1ubuntu5","8.21-1ubuntu5.1","8.21-1ubuntu5.3","8.21-1ubuntu5.4"],"provider":"osv","source":"UBUNTU-CVE-2017-18018","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"coreutils","purl":"pkg:deb/ubuntu/coreutils@8.25-2ubuntu3~16.04?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.23-4ubuntu2","8.25-2ubuntu2","8.25-2ubuntu3~16.04"],"provider":"osv","source":"UBUNTU-CVE-2017-18018","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"coreutils","purl":"pkg:deb/ubuntu/coreutils@8.28-1ubuntu1?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.26-3ubuntu4","8.28-1ubuntu1"],"provider":"osv","source":"UBUNTU-CVE-2017-18018","relation":"self"}],"product_status":[{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP4","cpe":"cpe:/o:suse:sles:12:sp4","status":"affected","packages":["coreutils","coreutils-lang"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2017-18018"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP4-LTSS","cpe":"cpe:/o:suse:sles-ltss:12:sp4","status":"affected","packages":["coreutils","coreutils-lang"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2017-18018"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 4","cpe":"cpe:/o:redhat:rhel_els:4","status":"affected","packages":["coreutils"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2017-18018"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 5","cpe":"cpe:/o:redhat:rhel_els:5","status":"affected","packages":["coreutils"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2017-18018"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","cpe":"cpe:/o:redhat:rhel_els:6","status":"affected","packages":["coreutils","coreutils-libs"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2017-18018"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"affected","packages":["coreutils"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2017-18018"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["coreutils","coreutils-common","coreutils-single"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2017-18018"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2017-18018","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2017-18018","license":"CC-BY-4.0","published_at":"2018-01-04T04:00:00Z","modified_at":"2025-06-09T15:57:37.581Z","summary":"In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX \"-R -L\" options, which allows local users to modif...","details":"In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX \"-R -L\" options, which allows local users to modify the ownership of arbitrary files by leveraging a race condition.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"CISA-ADP:CVE-2017-18018"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"http://lists.gnu.org/archive/html/coreutils/2017-12/msg00045.html"}]},{"provider":"csaf-suse","source_id":"CVE-2017-18018","relation":"self","url":"https://www.suse.com/security/cve/CVE-2017-18018/","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-02-15T04:36:10Z","modified_at":"2025-07-31T23:34:37Z","summary":"SUSE CVE CVE-2017-18018","details":"SUSE CVE-2017-18018\n\nIn GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX \"-R -L\" options, which allows local users to modify the ownership of arbitrary files by leveraging a race condition.","severity":[{"type":"SUSE","score":"moderate","source":"CVE-2017-18018"}],"affected":[],"product_status":[{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP4","cpe":"cpe:/o:suse:sles:12:sp4","status":"affected","packages":["coreutils","coreutils-lang"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2017-18018"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP4-LTSS","cpe":"cpe:/o:suse:sles-ltss:12:sp4","status":"affected","packages":["coreutils","coreutils-lang"],"package_count":2,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2017-18018"}],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2017-18018"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1074599"}]},{"provider":"nvd","source_id":"CVE-2017-18018","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18018","severity":[],"affected":[{"ecosystem":"NVD","package":"gnu:coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"8.29"}]}],"provider":"nvd","source":"CVE-2017-18018","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"ALPINE-CVE-2017-18018","relation":"self","url":"https://osv.dev/vulnerability/ALPINE-CVE-2017-18018","published_at":"2018-01-04T04:29:00.19Z","modified_at":"2026-06-15T18:18:06.789624Z","details":"In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX \"-R -L\" options, which allows local users to modify the ownership of arbitrary files by leveraging a race condition.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"ALPINE-CVE-2017-18018"}],"affected":[{"ecosystem":"Alpine:v3.10","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.11","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.12","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.13","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.14","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.15","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.16","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.17","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.18","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.19","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.20","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.21","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.22","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.23","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.24","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.7","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.28-r0"}]}],"fixed":["8.28-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.8","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.29-r2"}]}],"fixed":["8.29-r2"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"},{"ecosystem":"Alpine:v3.9","package":"coreutils","purl":"pkg:apk/alpine/coreutils?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.30-r0"}]}],"fixed":["8.30-r0"],"provider":"osv","source":"ALPINE-CVE-2017-18018","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2017-18018"}]},{"provider":"osv","source_id":"DEBIAN-CVE-2017-18018","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2017-18018","published_at":"2018-01-04T04:29:00.19Z","modified_at":"2026-09-01T20:03:46.911345Z","details":"In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX \"-R -L\" options, which allows local users to modify the ownership of arbitrary files by leveraging a race condition.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"DEBIAN-CVE-2017-18018"}],"affected":[{"ecosystem":"Debian:12","package":"coreutils","purl":"pkg:deb/debian/coreutils?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.1-1","9.10-1","9.4-1","9.4-2","9.4-3","9.4-3.1","9.5-1","9.6-1","9.6-2","9.7-1","9.7-2","9.7-3"],"provider":"osv","source":"DEBIAN-CVE-2017-18018","relation":"self"},{"ecosystem":"Debian:13","package":"coreutils","purl":"pkg:deb/debian/coreutils?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.10-1","9.7-3"],"provider":"osv","source":"DEBIAN-CVE-2017-18018","relation":"self"},{"ecosystem":"Debian:14","package":"coreutils","purl":"pkg:deb/debian/coreutils?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.10-1","9.7-3"],"provider":"osv","source":"DEBIAN-CVE-2017-18018","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2017-18018"}]},{"provider":"osv","source_id":"DHI-spbq-qtc4-ishc-jxe5","relation":"self","url":"https://osv.dev/vulnerability/DHI-spbq-qtc4-ishc-jxe5","license":"Apache-2.0","published_at":"2026-11-19T20:54:10Z","modified_at":"2026-11-19T21:00:16.716655Z","summary":"In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a…","details":"In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX \"-R -L\" options, which allows local users to modify the ownership of arbitrary files by leveraging a race condition.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"DHI-spbq-qtc4-ishc-jxe5"}],"affected":[{"ecosystem":"Docker Hardened Images:Debian:13","package":"coreutils","purl":"pkg:deb/dhi/coreutils","versions":["9.7-3+deb13u0+dhi5","9.7-3+dhi1","9.7-3+dhi2","9.7-3+dhi3","9.7-3+dhi4","9.7-3+dhi5","9.7-3dhi0","9.7-3dhi1"],"provider":"osv","source":"DHI-spbq-qtc4-ishc-jxe5","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-spbq-qtc4-ishc-jxe5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18018"},{"type":"ADVISORY","url":"http://lists.gnu.org/archive/html/coreutils/2017-12/msg00045.html"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2017-18018"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2017-18018"},{"type":"ADVISORY","url":"https://inthewild.io/vuln/CVE-2017-18018"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2017-18018"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2017-18018"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2017-18018"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2017-18018","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2017-18018","license":"CC-BY-SA-4.0","published_at":"2018-01-04T04:29:00Z","modified_at":"2025-10-24T04:46:38Z","details":"In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX \"-R -L\" options, which allows local users to modify the ownership of arbitrary files by leveraging a race condition.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"UBUNTU-CVE-2017-18018"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"UBUNTU-CVE-2017-18018"},{"type":"Ubuntu","score":"low","source":"UBUNTU-CVE-2017-18018"}],"affected":[{"ecosystem":"Ubuntu:14.04:LTS","package":"coreutils","purl":"pkg:deb/ubuntu/coreutils@8.21-1ubuntu5.4?arch=source&distro=trusty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.20-3ubuntu5","8.21-1ubuntu3","8.21-1ubuntu4","8.21-1ubuntu5","8.21-1ubuntu5.1","8.21-1ubuntu5.3","8.21-1ubuntu5.4"],"provider":"osv","source":"UBUNTU-CVE-2017-18018","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"coreutils","purl":"pkg:deb/ubuntu/coreutils@8.25-2ubuntu3~16.04?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.23-4ubuntu2","8.25-2ubuntu2","8.25-2ubuntu3~16.04"],"provider":"osv","source":"UBUNTU-CVE-2017-18018","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"coreutils","purl":"pkg:deb/ubuntu/coreutils@8.28-1ubuntu1?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.26-3ubuntu4","8.28-1ubuntu1"],"provider":"osv","source":"UBUNTU-CVE-2017-18018","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-18018"},{"type":"REPORT","url":"http://lists.gnu.org/archive/html/coreutils/2017-12/msg00045.html"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2018/01/04/3"},{"type":"REPORT","url":"https://lists.gnu.org/archive/html/coreutils/2017-12/msg00072.html"},{"type":"REPORT","url":"https://lists.gnu.org/archive/html/coreutils/2017-12/msg00073.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-18018"}]},{"provider":"redhat-vex","source_id":"CVE-2017-18018","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2017-18018","license":"CC-BY-4.0","published_at":"2017-12-20T00:00:00Z","modified_at":"2025-06-09T16:20:09Z","summary":"coreutils: race condition vulnerability in chown and chgrp","details":"In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX \"-R -L\" options, which allows local users to modify the ownership of arbitrary files by leveraging a race condition.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L","source":"CVE-2017-18018"},{"type":"Red Hat","score":"Moderate","source":"CVE-2017-18018"}],"affected":[{"ecosystem":"Red Hat:rhel_els:4","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2017-18018","relation":"self"},{"ecosystem":"Red Hat:rhel_els:5","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2017-18018","relation":"self"},{"ecosystem":"Red Hat:rhel_els:6","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2017-18018","relation":"self"},{"ecosystem":"Red Hat:rhel_els:6","package":"coreutils-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2017-18018","relation":"self"},{"ecosystem":"Red Hat:rhel_els:7","package":"coreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2017-18018","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 4","cpe":"cpe:/o:redhat:rhel_els:4","status":"affected","packages":["coreutils"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2017-18018"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 5","cpe":"cpe:/o:redhat:rhel_els:5","status":"affected","packages":["coreutils"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2017-18018"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","cpe":"cpe:/o:redhat:rhel_els:6","status":"affected","packages":["coreutils","coreutils-libs"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2017-18018"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"affected","packages":["coreutils"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2017-18018"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["coreutils","coreutils-common","coreutils-single"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2017-18018"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-18018.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2017-18018"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1532284"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2017-18018"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18018"}]}],"references":[{"type":"WEB","url":"http://lists.gnu.org/archive/html/coreutils/2017-12/msg00045.html"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2017-18018"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1074599"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2017-18018"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2017-18018"},{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-spbq-qtc4-ishc-jxe5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18018"},{"type":"ADVISORY","url":"https://inthewild.io/vuln/CVE-2017-18018"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2017-18018"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2017-18018"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2017-18018"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2018/01/04/3"},{"type":"REPORT","url":"https://lists.gnu.org/archive/html/coreutils/2017-12/msg00072.html"},{"type":"REPORT","url":"https://lists.gnu.org/archive/html/coreutils/2017-12/msg00073.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-18018"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-18018.json"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1532284"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2017-18018","url":"https://www.cve.org/CVERecord?id=CVE-2017-18018","license":"CC-BY-4.0","modified_at":"2025-06-09T15:57:37.581Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2017-18018","url":"https://www.suse.com/security/cve/CVE-2017-18018/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-07-31T23:34:37Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2017-18018","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18018","relation":"self"},{"provider":"osv","source_id":"ALPINE-CVE-2017-18018","url":"https://osv.dev/vulnerability/ALPINE-CVE-2017-18018","modified_at":"2026-06-15T18:18:06.789624Z","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2017-18018","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2017-18018","modified_at":"2026-09-01T20:03:46.911345Z","relation":"self"},{"provider":"osv","source_id":"DHI-spbq-qtc4-ishc-jxe5","url":"https://osv.dev/vulnerability/DHI-spbq-qtc4-ishc-jxe5","license":"Apache-2.0","modified_at":"2026-11-19T21:00:16.716655Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2017-18018","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2017-18018","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T04:46:38Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2017-18018","url":"https://access.redhat.com/security/cve/CVE-2017-18018","license":"CC-BY-4.0","modified_at":"2025-06-09T16:20:09Z","relation":"self"}]}
