Moderate: rpm security update
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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:
-
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.
-
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.
-
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 →
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.