OESA-2022-1897

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1897
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1897.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1897
Upstream
Published
2022-09-08T11:04:15Z
Modified
2025-08-12T05:09:04.487520Z
Summary
rpm security update
Details

The RPM Package Manager (RPM) is a powerful package management system capability as below

Security Fix(es):

A race condition vulnerability was found in rpm. A local unprivileged user could use this flaw to bypass the checks that were introduced in response to CVE-2017-7500 and CVE-2017-7501, potentially gaining root privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.(CVE-2021-35937)

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.(CVE-2021-35939)

A symbolic link issue was found in rpm. It occurs when rpm sets the desired permissions and credentials after installing a file. A local unprivileged user could use this flaw to exchange the original file with a symbolic link to a security-critical file and escalate their privileges on the system. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.(CVE-2021-35938)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / rpm

Package

Name
rpm
Purl
pkg:rpm/openEuler/rpm&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.15.1-28.oe1

Ecosystem specific

{
    "noarch": [
        "rpm-help-4.15.1-28.oe1.noarch.rpm"
    ],
    "src": [
        "rpm-4.15.1-28.oe1.src.rpm"
    ],
    "aarch64": [
        "rpm-devel-4.15.1-28.oe1.aarch64.rpm",
        "python2-rpm-4.15.1-28.oe1.aarch64.rpm",
        "rpm-plugin-systemd-inhibit-4.15.1-28.oe1.aarch64.rpm",
        "rpm-debugsource-4.15.1-28.oe1.aarch64.rpm",
        "rpm-debuginfo-4.15.1-28.oe1.aarch64.rpm",
        "rpm-libs-4.15.1-28.oe1.aarch64.rpm",
        "rpm-4.15.1-28.oe1.aarch64.rpm",
        "rpm-build-4.15.1-28.oe1.aarch64.rpm",
        "python3-rpm-4.15.1-28.oe1.aarch64.rpm"
    ],
    "x86_64": [
        "python2-rpm-4.15.1-28.oe1.x86_64.rpm",
        "rpm-debuginfo-4.15.1-28.oe1.x86_64.rpm",
        "rpm-debugsource-4.15.1-28.oe1.x86_64.rpm",
        "rpm-plugin-systemd-inhibit-4.15.1-28.oe1.x86_64.rpm",
        "python3-rpm-4.15.1-28.oe1.x86_64.rpm",
        "rpm-devel-4.15.1-28.oe1.x86_64.rpm",
        "rpm-build-4.15.1-28.oe1.x86_64.rpm",
        "rpm-4.15.1-28.oe1.x86_64.rpm",
        "rpm-libs-4.15.1-28.oe1.x86_64.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / rpm

Package

Name
rpm
Purl
pkg:rpm/openEuler/rpm&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.15.1-37.oe1

Ecosystem specific

{
    "noarch": [
        "rpm-help-4.15.1-37.oe1.noarch.rpm"
    ],
    "src": [
        "rpm-4.15.1-37.oe1.src.rpm"
    ],
    "aarch64": [
        "rpm-libs-4.15.1-37.oe1.aarch64.rpm",
        "python2-rpm-4.15.1-37.oe1.aarch64.rpm",
        "rpm-4.15.1-37.oe1.aarch64.rpm",
        "rpm-plugin-systemd-inhibit-4.15.1-37.oe1.aarch64.rpm",
        "rpm-devel-4.15.1-37.oe1.aarch64.rpm",
        "rpm-debuginfo-4.15.1-37.oe1.aarch64.rpm",
        "python3-rpm-4.15.1-37.oe1.aarch64.rpm",
        "rpm-debugsource-4.15.1-37.oe1.aarch64.rpm",
        "rpm-build-4.15.1-37.oe1.aarch64.rpm"
    ],
    "x86_64": [
        "rpm-debugsource-4.15.1-37.oe1.x86_64.rpm",
        "rpm-devel-4.15.1-37.oe1.x86_64.rpm",
        "rpm-plugin-systemd-inhibit-4.15.1-37.oe1.x86_64.rpm",
        "python3-rpm-4.15.1-37.oe1.x86_64.rpm",
        "rpm-build-4.15.1-37.oe1.x86_64.rpm",
        "rpm-libs-4.15.1-37.oe1.x86_64.rpm",
        "python2-rpm-4.15.1-37.oe1.x86_64.rpm",
        "rpm-debuginfo-4.15.1-37.oe1.x86_64.rpm",
        "rpm-4.15.1-37.oe1.x86_64.rpm"
    ]
}

openEuler:22.03-LTS / rpm

Package

Name
rpm
Purl
pkg:rpm/openEuler/rpm&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.17.0-14.oe2203

Ecosystem specific

{
    "noarch": [
        "rpm-help-4.17.0-14.oe2203.noarch.rpm"
    ],
    "src": [
        "rpm-4.17.0-14.oe2203.src.rpm"
    ],
    "aarch64": [
        "rpm-devel-4.17.0-14.oe2203.aarch64.rpm",
        "rpm-build-4.17.0-14.oe2203.aarch64.rpm",
        "rpm-libs-4.17.0-14.oe2203.aarch64.rpm",
        "rpm-4.17.0-14.oe2203.aarch64.rpm",
        "rpm-debuginfo-4.17.0-14.oe2203.aarch64.rpm",
        "rpm-debugsource-4.17.0-14.oe2203.aarch64.rpm",
        "python3-rpm-4.17.0-14.oe2203.aarch64.rpm",
        "rpm-plugin-systemd-inhibit-4.17.0-14.oe2203.aarch64.rpm"
    ],
    "x86_64": [
        "rpm-build-4.17.0-14.oe2203.x86_64.rpm",
        "rpm-debuginfo-4.17.0-14.oe2203.x86_64.rpm",
        "rpm-devel-4.17.0-14.oe2203.x86_64.rpm",
        "python3-rpm-4.17.0-14.oe2203.x86_64.rpm",
        "rpm-debugsource-4.17.0-14.oe2203.x86_64.rpm",
        "rpm-4.17.0-14.oe2203.x86_64.rpm",
        "rpm-plugin-systemd-inhibit-4.17.0-14.oe2203.x86_64.rpm",
        "rpm-libs-4.17.0-14.oe2203.x86_64.rpm"
    ]
}