LiveActive security incident?Get immediate response
CVE Record

CVE-2021-35938: A symbolic link issue was found in rpm.

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

RPM could be tricked locally into applying file permissions or ownership to the wrong file through a symbolic link swap. A local unprivileged user could use this to gain higher privileges. This is mainly a risk on systems where RPM package operations occur while untrusted local users have access.

Executive priority

Address this as a high-priority local privilege escalation issue on shared or multi-user Linux systems. It is less urgent than a remote unauthenticated flaw, but compromise impact can be serious if an attacker already has local access.

Technical view

CVE-2021-35938 is a CWE-59 symbolic link handling flaw in RPM. During installation, RPM set permissions and credentials after creating a file. A local attacker could replace that file with a symlink to a security-critical file before those attributes were applied. The source bundle states the issue is fixed in RPM 4.18.0.

Likely exposure

Exposure is most likely on Linux systems using RPM versions before the vendor-fixed package or RPM 4.18.0. The attacker must already have local unprivileged access. Exact affected distribution versions are not fully enumerated in the provided sources.

Exploitation context

The provided sources describe local privilege escalation potential, but do not show active exploitation. The CVE is not listed as KEV in the source bundle. Treat exploit status as unconfirmed unless vendor advisories or threat intelligence say otherwise.

Researcher notes

Focus review on RPM package installation paths where file attributes are applied after file creation. The public bundle identifies the upstream fix, PR, and commit, but distribution backports may not report version 4.18.0 even when fixed.

Mitigation direction

  • Upgrade RPM using the affected distribution's security update channel.
  • Confirm the installed RPM package contains the CVE-2021-35938 fix or is RPM 4.18.0 or later.
  • Prioritize multi-user systems and hosts where untrusted users can access local shells.
  • Review Red Hat, SUSE, Gentoo, or relevant vendor guidance for backported fixes.

Validation and detection

  • Inventory systems using RPM and record installed package versions.
  • Compare installed vendor package builds against distribution advisories for CVE-2021-35938.
  • Verify package updates completed successfully on representative hosts.
  • Check whether untrusted local users have shell access on exposed systems.
Prepared
Confidence
medium
Sources
8

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-59: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-35938 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
8Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/aRPMFixed in rpm v4.18.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-59 · source CWE mapping

Improper Link Resolution Before File Access ('Link Following')

Improper Link Resolution Before File Access ('Link Following') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.