6.7
MEDIUM
CVE-2021-35938
RPM Symbolic Link Escalation Vulnerability
Description

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.

INFO

Published Date :

Aug. 25, 2022, 8:15 p.m.

Last Modified :

Nov. 29, 2022, 6:06 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

0.8
Public PoC/Exploit Available at Github

CVE-2021-35938 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-35938 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
1 Fedoraproject fedora
1 Rpm rpm
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-35938.

URL Resource
https://access.redhat.com/security/cve/CVE-2021-35938 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1964114 Issue Tracking Vendor Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1157880 Exploit Issue Tracking Third Party Advisory
https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033 Patch Third Party Advisory
https://github.com/rpm-software-management/rpm/pull/1919 Patch Third Party Advisory
https://rpm.org/wiki/Releases/4.18.0 Release Notes
https://security.gentoo.org/glsa/202210-22 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python

Updated: 7 months, 1 week ago
2 stars 1 fork 1 watcher
Born at : March 28, 2024, 7:23 p.m. This repo has been linked 2 different CVEs too.

Map Vulnerabilities into Different Layers of the Container Image

Python

Updated: 1 year, 10 months ago
1 stars 0 fork 0 watcher
Born at : Oct. 5, 2022, 12:07 p.m. This repo has been linked 1276 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-35938 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-35938 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Nov. 29, 2022

    Action Type Old Value New Value
    Removed CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://security.gentoo.org/glsa/202210-22 No Types Assigned https://security.gentoo.org/glsa/202210-22 Third Party Advisory
  • CVE Modified by [email protected]

    Oct. 31, 2022

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202210-22 [No Types Assigned]
  • Initial Analysis by [email protected]

    Aug. 31, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://access.redhat.com/security/cve/CVE-2021-35938 No Types Assigned https://access.redhat.com/security/cve/CVE-2021-35938 Vendor Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1964114 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1964114 Issue Tracking, Vendor Advisory
    Changed Reference Type https://bugzilla.suse.com/show_bug.cgi?id=1157880 No Types Assigned https://bugzilla.suse.com/show_bug.cgi?id=1157880 Exploit, Issue Tracking, Third Party Advisory
    Changed Reference Type https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033 No Types Assigned https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033 Patch, Third Party Advisory
    Changed Reference Type https://github.com/rpm-software-management/rpm/pull/1919 No Types Assigned https://github.com/rpm-software-management/rpm/pull/1919 Patch, Third Party Advisory
    Changed Reference Type https://rpm.org/wiki/Releases/4.18.0 No Types Assigned https://rpm.org/wiki/Releases/4.18.0 Release Notes
    Added CWE NIST CWE-59
    Added CPE Configuration OR *cpe:2.3:a:rpm:rpm:*:*:*:*:*:*:*:* versions up to (excluding) 4.18.0
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-35938 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-35938 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.10 }} 0.02%

score

0.41742

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability