Vulnerability · Published May 27, 2020 · Assigned by redhat

CVE-2020-10737

Medium 6.3

In plain English

A medium-severity race condition in oddjob from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.3%top 78.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12oddjob0.34.6-1DEBIAN-CVE-2020-10737
Debian:13oddjob0.34.6-1DEBIAN-CVE-2020-10737
Debian:14oddjob0.34.6-1DEBIAN-CVE-2020-10737

Affected products (as reported)

VendorProductVersions
Red Hat oddjob before 0.34.5before 0.34.6

Weakness: CWE-362 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

References