{"id":"CVE-2020-10737","aliases":["DEBIAN-CVE-2020-10737","EUVD-2020-3161","GHSA-m6xw-hhwx-7qjc","RHSA-2020:4687","UBUNTU-CVE-2020-10737","USN-5169-1","openSUSE-SU-2024:11109-1"],"status":"published","title":"A race condition was found in the mkhomedir tool shipped with the oddjob package in versions...","description":"A race condition was found in the mkhomedir tool shipped with the oddjob package in versions before 0.34.5 and 0.34.6 wherein, during the home creation, mkhomedir copies the /etc/skel directory into the newly created home and changes its ownership to the home's user without properly checking the homedir path. This flaw allows an attacker to leverage this issue by creating a symlink point to a target folder, which then has its ownership transferred to the new home directory's unprivileged user.","severity":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00293,"percentile":0.22078,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-362"],"published":"2020-05-27T00:00:00Z","modified":"2026-10-26T12:00:16Z","fixes":[{"ecosystem":"Debian:12","package":"oddjob","fixed_in":["0.34.6-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"oddjob","fixed_in":["0.34.6-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"oddjob","fixed_in":["0.34.6-1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"oddjob","fixed_in":["0:0.34.5-3.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"oddjob-debuginfo","fixed_in":["0:0.34.5-3.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"oddjob-debugsource","fixed_in":["0:0.34.5-3.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"oddjob-mkhomedir","fixed_in":["0:0.34.5-3.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"oddjob-mkhomedir-debuginfo","fixed_in":["0:0.34.5-3.el8"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"oddjob","fixed_in":["0.34.3-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"oddjob","fixed_in":["0.34.3-4ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"oddjob","fixed_in":["0.34.4-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"oddjob","fixed_in":["0.34.5-1.9"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"oddjob","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.34.6-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"oddjob","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.34.6-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"oddjob","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.34.6-1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"oddjob","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.34.5-3.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"oddjob-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.34.5-3.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"oddjob-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.34.5-3.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"oddjob-mkhomedir","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.34.5-3.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"oddjob-mkhomedir-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.34.5-3.el8"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"oddjob","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.34.3-2ubuntu0.1~esm1"}]}],"versions":["0.34.3-1","0.34.3-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"oddjob","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.34.3-4ubuntu0.1~esm1"}]}],"versions":["0.34.3-4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"oddjob","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.34.4-1ubuntu0.1~esm1"}]}],"versions":["0.34.4-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"oddjob","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.34.3-2ubuntu0.1~esm1"}]}],"versions":["0.34.3-1","0.34.3-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"oddjob","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.34.3-4ubuntu0.1~esm1"}]}],"versions":["0.34.3-4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"oddjob","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.34.4-1ubuntu0.1~esm1"}]}],"versions":["0.34.4-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"oddjob","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.34.5-1.9"}]}]}],"products":[{"vendor":"red hat","product":"oddjob"},{"vendor":"redhat","product":"oddjob"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10737","tags":["x_transferred","Issue Tracking","Vendor Advisory","report"]},{"url":"https://pagure.io/oddjob/c/10b8aaa1564b723a005b53acc069df71313f4cac?branch","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10737","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-m6xw-hhwx-7qjc"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-10737","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:4687","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.3_release_notes/","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1833042","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1833289","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1886362","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_4687.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-10737","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-10737","tags":["advisory","report"]},{"url":"https://ubuntu.com/security/CVE-2020-10737","tags":["report"]},{"url":"https://pagure.io/oddjob/c/10b8aaa1564b723a005b53acc069df71313f4cac","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5169-1","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2020-10737","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2020-10737","description":"A race condition was found in the mkhomedir tool shipped with the oddjob package in versions before 0.34.5 and 0.34.6 wherein, during the home creation, mkhomedir copies the /etc/skel directory into the newly created home and changes its ownership to the home's user without properly checking the homedir path. This flaw allows an attacker to leverage this issue by creating a symlink point to a target folder, which then has its ownership transferred to the new home directory's unprivileged user.","status":"published","published":"2020-05-27T00:00:00Z","modified":"2024-08-04T11:14:14.865Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:35:48.213211Z"}],"euvd":[{"id":"EUVD-2020-3161","description":"A race condition was found in the mkhomedir tool shipped with the oddjob package in versions before 0.34.5 and 0.34.6 wherein, during the home creation, mkhomedir copies the /etc/skel directory into the newly created home and changes its ownership to the home's user without properly checking the homedir path. This flaw allows an attacker to leverage this issue by creating a symlink point to a target folder, which then has its ownership transferred to the new home directory's unprivileged user.","status":"published","published":"2020-05-27T00:00:00Z","modified":"2024-08-04T11:14:14Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-03T03:07:49.454544Z"}],"ghsa":[{"id":"GHSA-m6xw-hhwx-7qjc","title":"A race condition was found in the mkhomedir tool shipped with the oddjob package in versions...","description":"A race condition was found in the mkhomedir tool shipped with the oddjob package in versions before 0.34.5 and 0.34.6 wherein, during the home creation, mkhomedir copies the /etc/skel directory into the newly created home and changes its ownership to the home's user without properly checking the homedir path. This flaw allows an attacker to leverage this issue by creating a symlink point to a target folder, which then has its ownership transferred to the new home directory's unprivileged user.","status":"published","published":"2022-05-24T17:18:43Z","modified":"2023-01-29T05:00:49Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","level":"medium"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:44:40.694561Z"}],"nvd":[{"id":"CVE-2020-10737","description":"A race condition was found in the mkhomedir tool shipped with the oddjob package in versions before 0.34.5 and 0.34.6 wherein, during the home creation, mkhomedir copies the /etc/skel directory into the newly created home and changes its ownership to the home's user without properly checking the homedir path. This flaw allows an attacker to leverage this issue by creating a symlink point to a target folder, which then has its ownership transferred to the new home directory's unprivileged user.","status":"published","published":"2020-05-27T01:15:09.23Z","modified":"2026-06-17T02:48:21.173Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":3.7,"vector":"AV:L/AC:H/Au:N/C:P/I:P/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:06:04.922138Z"}],"osv":[{"id":"CVE-2020-10737","description":"A race condition was found in the mkhomedir tool shipped with the oddjob package in versions before 0.34.5 and 0.34.6 wherein, during the home creation, mkhomedir copies the /etc/skel directory into the newly created home and changes its ownership to the home's user without properly checking the homedir path. This flaw allows an attacker to leverage this issue by creating a symlink point to a target folder, which then has its ownership transferred to the new home directory's unprivileged user.","status":"published","published":"2020-05-27T01:15:09.23Z","modified":"2026-03-14T09:47:54.491908Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:13.492058Z"},{"id":"DEBIAN-CVE-2020-10737","description":"A race condition was found in the mkhomedir tool shipped with the oddjob package in versions before 0.34.5 and 0.34.6 wherein, during the home creation, mkhomedir copies the /etc/skel directory into the newly created home and changes its ownership to the home's user without properly checking the homedir path. This flaw allows an attacker to leverage this issue by creating a symlink point to a target folder, which then has its ownership transferred to the new home directory's unprivileged user.","status":"published","published":"2020-05-27T01:15:09.23Z","modified":"2026-10-26T12:00:16.881663858Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:32.862554Z"},{"id":"RHSA-2020:4687","title":"Red Hat Security Advisory: oddjob security, bug fix, and enhancement update","status":"published","published":"2024-09-16T04:11:46Z","modified":"2025-11-22T12:11:46Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:07.57369Z"},{"id":"UBUNTU-CVE-2020-10737","description":"A race condition was found in the mkhomedir tool shipped with the oddjob package in versions before 0.34.5 and 0.34.6 wherein, during the home creation, mkhomedir copies the /etc/skel directory into the newly created home and changes its ownership to the home's user without properly checking the homedir path. This flaw allows an attacker to leverage this issue by creating a symlink point to a target folder, which then has its ownership transferred to the new home directory's unprivileged user.","status":"published","published":"2020-05-27T01:15:00Z","modified":"2026-02-04T03:36:47.082153Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","level":"medium"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:22.212782Z"},{"id":"openSUSE-SU-2024:11109-1","title":"oddjob-0.34.5-1.9 on GA media","description":"These are all security issues fixed in the oddjob-0.34.5-1.9 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2025-05-07T18:11:16.977711Z","updated_at":"2026-11-02T16:58:34.894275Z"},{"id":"USN-5169-1","title":"oddjob vulnerability","description":"Matthias Gerstner discovered that there was a race condition in the mkhomedir\ntool shipped with the oddjob package. An authenticated attacker could use this\nto setup a symlink attack and change permissions on files on the host filesystem.\n","status":"published","published":"2022-08-09T11:29:53Z","modified":"2026-06-25T13:30:52.26207194Z","updated_at":"2026-11-02T16:58:15.683829Z"}]}}
