Moderate: rpm security update

python3-rpm Updated 02 Oct 2025

Summary

01/02/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:0647: Moderate: rpm security update. Affects python3-rpm versions < 4.14.3-28.el8_9. Fixed in 4.14.3-28.el8_9. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating software packages. It is widely used in Linux distributions, including AlmaLinux 8.

Vulnerability Detail

This security update addresses three vulnerabilities in RPM:

  1. TOCTOU race in checks for unsafe symlinks (CVE-2021-35937): This vulnerability allows an attacker to create a symlink to a file that is checked for safety, bypassing the checks and potentially leading to arbitrary file overwrites or privilege escalation.

  2. Races with chown/chmod/capabilities calls during installation (CVE-2021-35938): This vulnerability allows a local attacker to modify the ownership, permissions, or capabilities of files during the installation process, potentially leading to privilege escalation or unauthorized access.

  3. Checks for unsafe symlinks are not performed for intermediary directories (CVE-2021-35939): This vulnerability allows an attacker to create a symlink to a directory that is not checked for safety, potentially leading to arbitrary file overwrites or privilege escalation.

These vulnerabilities can be exploited by attackers with local access to the system.

How To Fix

Minimum fixed version

4.14.3-28.el8_9

This is the first release that contains the fix.

sudo dnf update python3-rpm

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no known workarounds for these vulnerabilities.

Conclusion

In conclusion, this security update addresses three vulnerabilities in RPM that could be exploited by attackers with local access to the system. It is recommended to update the affected RPM packages to the latest version to mitigate these vulnerabilities. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for python3-rpm →

Share this vulnerability

FAQ

RPM (RPM Package Manager) is a command-line driven package management system used in Linux distributions to install, uninstall, verify, query, and update software packages.

These vulnerabilities can be exploited by attackers with local access to the system to perform arbitrary file overwrites, privilege escalation, or unauthorized access.

You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for vulnerabilities.

No, there are no known workarounds for these vulnerabilities. It is recommended to update the affected RPM packages to the latest version.

You can find more information about these vulnerabilities, including their impact, CVSS scores, and acknowledgments, on the CVE pages: CVE-2021-35937, CVE-2021-35938, CVE-2021-35939.

Related vulnerabilities

Recent vulnerabilities recorded for python3-rpm.

How To Fix

Minimum fixed version

4.14.3-28.el8_9

This is the first release that contains the fix.

sudo dnf update python3-rpm

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback