UBUNTU-CVE-2020-10737

Source
https://ubuntu.com/security/CVE-2020-10737
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-10737.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2020-10737
Related
Published
2020-05-27T01:15:00Z
Modified
2025-01-13T10:22:10Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / oddjob

Package

Name
oddjob
Purl
pkg:deb/ubuntu/oddjob@0.34.3-2ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.34.3-2ubuntu0.1~esm1

Affected versions

0.*

0.34.3-1
0.34.3-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.34.3-2ubuntu0.1~esm1",
            "binary_name": "oddjob"
        },
        {
            "binary_version": "0.34.3-2ubuntu0.1~esm1",
            "binary_name": "oddjob-dbgsym"
        },
        {
            "binary_version": "0.34.3-2ubuntu0.1~esm1",
            "binary_name": "oddjob-mkhomedir"
        },
        {
            "binary_version": "0.34.3-2ubuntu0.1~esm1",
            "binary_name": "oddjob-mkhomedir-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / oddjob

Package

Name
oddjob
Purl
pkg:deb/ubuntu/oddjob@0.34.3-4ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.34.3-4ubuntu0.1~esm1

Affected versions

0.*

0.34.3-4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.34.3-4ubuntu0.1~esm1",
            "binary_name": "oddjob"
        },
        {
            "binary_version": "0.34.3-4ubuntu0.1~esm1",
            "binary_name": "oddjob-dbgsym"
        },
        {
            "binary_version": "0.34.3-4ubuntu0.1~esm1",
            "binary_name": "oddjob-mkhomedir"
        },
        {
            "binary_version": "0.34.3-4ubuntu0.1~esm1",
            "binary_name": "oddjob-mkhomedir-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / oddjob

Package

Name
oddjob
Purl
pkg:deb/ubuntu/oddjob@0.34.4-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.34.4-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:20.04:LTS / oddjob

Package

Name
oddjob
Purl
pkg:deb/ubuntu/oddjob@0.34.4-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.34.4-1ubuntu0.1~esm1

Affected versions

0.*

0.34.4-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.34.4-1ubuntu0.1~esm1",
            "binary_name": "oddjob"
        },
        {
            "binary_version": "0.34.4-1ubuntu0.1~esm1",
            "binary_name": "oddjob-dbgsym"
        },
        {
            "binary_version": "0.34.4-1ubuntu0.1~esm1",
            "binary_name": "oddjob-mkhomedir"
        },
        {
            "binary_version": "0.34.4-1ubuntu0.1~esm1",
            "binary_name": "oddjob-mkhomedir-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / oddjob

Package

Name
oddjob
Purl
pkg:deb/ubuntu/oddjob@0.34.6-1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.34.6-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.34.6-1",
            "binary_name": "oddjob"
        },
        {
            "binary_version": "0.34.6-1",
            "binary_name": "oddjob-dbgsym"
        },
        {
            "binary_version": "0.34.6-1",
            "binary_name": "oddjob-mkhomedir"
        },
        {
            "binary_version": "0.34.6-1",
            "binary_name": "oddjob-mkhomedir-dbgsym"
        }
    ]
}