Lucene search

K
cveRedhatCVE-2020-10737
HistoryMay 27, 2020 - 1:15 a.m.

CVE-2020-10737

2020-05-2701:15:09
CWE-362
redhat
web.nvd.nist.gov
219
cve-2020-10737
oddjob package
mkhomedir
race condition
symlink attack
nvd
information security

CVSS2

3.7

Attack Vector

LOCAL

Attack Complexity

HIGH

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:L/AC:H/Au:N/C:P/I:P/A:P

CVSS3

6.3

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

AI Score

5.9

Confidence

High

EPSS

0

Percentile

12.6%

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 configurations

Nvd
Vulners
Node
redhatoddjobRange<0.34.5
VendorProductVersionCPE
redhatoddjob*cpe:2.3:a:redhat:oddjob:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "vendor": "Red Hat",
    "product": "oddjob",
    "versions": [
      {
        "version": "before 0.34.5",
        "status": "affected"
      },
      {
        "version": "before 0.34.6",
        "status": "affected"
      }
    ]
  }
]

CVSS2

3.7

Attack Vector

LOCAL

Attack Complexity

HIGH

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:L/AC:H/Au:N/C:P/I:P/A:P

CVSS3

6.3

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

AI Score

5.9

Confidence

High

EPSS

0

Percentile

12.6%