CVEfocus › CVE database › CVE-2020-10737

CVE-2020-10737

CVSS 6.3 MediumEPSS 0.3% (higher than 14% of CVEs)Published 2020-05-27Updated 2024-08-04Assigner: redhat

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.

CWE-362

What to do

Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

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

5Fixed
3Fix pending
4Will not fix
2Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04oddjobNot affected
vulnerable_code_not_present
Ubuntu 22.04oddjobNot affected
vulnerable_code_not_present
Ubuntu 20.04oddjobFix pending0.34.4-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2020-10737
Ubuntu 18.04oddjobFix pending0.34.3-4ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2020-10737
Ubuntu 16.04oddjobFix pending0.34.3-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2020-10737
Debian 14oddjobFixed0.34.6-1DEBIAN-CVE-2020-10737
Debian 13oddjobFixed0.34.6-1DEBIAN-CVE-2020-10737
Debian 12oddjobFixed0.34.6-1DEBIAN-CVE-2020-10737
Red Hat Enterprise Linux 8oddjobFixed0:0.34.5-3.el8RHSA-2020:4687
Red Hat Enterprise Linux 8oddjob-mkhomedirFixed0:0.34.5-3.el8RHSA-2020:4687
Red Hat Enterprise Linux 7oddjobWill not fix
Will not fix
Red Hat Enterprise Linux 7oddjob-mkhomedirWill not fix
Will not fix
Red Hat Enterprise Linux 6oddjobWill not fix
Out of support scope
Red Hat Enterprise Linux 6oddjob-mkhomedirWill not fix
Out of support scope

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

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.