Lucene search

K
cve[email protected]CVE-2020-10737
HistoryMay 27, 2020 - 1:15 a.m.

CVE-2020-10737

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

3.7 Low

CVSS2

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

6.3 Medium

CVSS3

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

5.9 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

12.7%

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

Vulners
NVD
Node
redhatoddjobRange0.34.5
OR
redhatoddjobRange0.34.6
VendorProductVersionCPE
redhatoddjob*cpe:2.3:a:redhat:oddjob:*:*:*:*:*:*:*:*
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"
      }
    ]
  }
]

3.7 Low

CVSS2

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

6.3 Medium

CVSS3

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

5.9 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

12.7%