Race Condition Affecting oddjob package, versions <0:0.34.5-3.el8


Severity

Recommended
0.0
medium
0
10

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.29% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ORACLE8-ODDJOB-2574338
  • published10 Apr 2022
  • disclosed27 May 2020

Introduced: 27 May 2020

CVE-2020-10737  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Oracle:8 oddjob to version 0:0.34.5-3.el8 or higher.
This issue was patched in ELSA-2020-4687.

NVD Description

Note: Versions mentioned in the description apply only to the upstream oddjob package and not the oddjob package as distributed by Oracle. See How to fix? for Oracle:8 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1