UBUNTU-CVE-2021-35939

Source
https://ubuntu.com/security/CVE-2021-35939
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-35939.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-35939
Related
Published
2022-08-26T16:15:00Z
Modified
2025-01-13T10:22:34Z
Severity
  • 6.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

It was found that the fix for CVE-2017-7500 and CVE-2017-7501 was incomplete: the check was only implemented for the parent directory of the file to be created. A local unprivileged user who owns another ancestor directory could potentially use this flaw to gain root privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

References

Affected packages

Ubuntu:Pro:14.04:LTS / rpm

Package

Name
rpm
Purl
pkg:deb/ubuntu/rpm@4.11.1-3ubuntu0.1+esm1?arch=source&distro=esm-infra-legacy/trusty

Affected ranges

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

Affected versions

4.*

4.11.1-2
4.11.1-3
4.11.1-3ubuntu0.1
4.11.1-3ubuntu0.1+esm1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / rpm

Package

Name
rpm
Purl
pkg:deb/ubuntu/rpm@4.12.0.1+dfsg1-3ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial

Affected ranges

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

Affected versions

4.*

4.12.0.1+dfsg1-3build2
4.12.0.1+dfsg1-3build3
4.12.0.1+dfsg1-3ubuntu0.1~esm1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / rpm

Package

Name
rpm
Purl
pkg:deb/ubuntu/rpm@4.14.1+dfsg1-2ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic

Affected ranges

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

Affected versions

4.*

4.12.0.2+dfsg1-2build2
4.14.0+dfsg1-2
4.14.1+dfsg1-2
4.14.1+dfsg1-2ubuntu0.1~esm1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / rpm

Package

Name
rpm
Purl
pkg:deb/ubuntu/rpm@4.14.2.1+dfsg1-1build2?arch=source&distro=focal

Affected ranges

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

Affected versions

4.*

4.14.2.1+dfsg1-1
4.14.2.1+dfsg1-1build1
4.14.2.1+dfsg1-1build2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / rpm

Package

Name
rpm
Purl
pkg:deb/ubuntu/rpm@4.17.0+dfsg1-4build1?arch=source&distro=jammy

Affected ranges

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

Affected versions

4.*

4.16.1.2+dfsg1-3ubuntu1
4.16.1.2+dfsg1-3ubuntu3
4.17.0+dfsg1-1
4.17.0+dfsg1-3
4.17.0+dfsg1-4
4.17.0+dfsg1-4build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / rpm

Package

Name
rpm
Purl
pkg:deb/ubuntu/rpm@4.19.1.1+dfsg-1?arch=source&distro=oracular

Affected ranges

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

Affected versions

4.*

4.18.2+dfsg-2.1build2
4.19.1.1+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / rpm

Package

Name
rpm
Purl
pkg:deb/ubuntu/rpm@4.18.2+dfsg-2.1build2?arch=source&distro=noble

Affected ranges

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

Affected versions

4.*

4.18.0+dfsg-1build1
4.18.0+dfsg-1build2
4.18.2+dfsg-1
4.18.2+dfsg-2
4.18.2+dfsg-2.1build1
4.18.2+dfsg-2.1build2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}