CVE-2020-10737

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.
Race Condition
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.3 MEDIUM
LOCAL
HIGH
HIGH
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
redhatCNA
6.3 MEDIUM
LOCAL
HIGH
HIGH
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 31%
VendorProductVersion
redhatoddjob
𝑥
< 0.34.5
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
oddjob
bullseye
0.34.6-1
fixed
buster
no-dsa
stretch
no-dsa
bookworm
0.34.7-1
fixed
sid
0.34.7-2.1
fixed
trixie
0.34.7-2.1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
oddjob
noble
not-affected
mantic
not-affected
lunar
not-affected
kinetic
not-affected
jammy
not-affected
impish
not-affected
hirsute
not-affected
groovy
not-affected
focal
Fixed 0.34.4-1ubuntu0.1~esm1
released
eoan
ignored
bionic
Fixed 0.34.3-4ubuntu0.1~esm1
released
xenial
Fixed 0.34.3-2ubuntu0.1~esm1
released
trusty
dne