Critical Directory Traversal Vulnerability in pam Package
Summary
ALSA-2025:20181: Important: pam security update. Affects pam versions < 1.6.1-8.el10. Fixed in 1.6.1-8.el10. 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
Pluggable Authentication Modules (PAM) is a suite of libraries that enables the integration of various authentication methods into applications without the need for recompilation. PAM is widely used in Unix-like operating systems, including AlmaLinux, to manage user authentication. The pam package, along with its development and library components, is essential for secure user access management. However, a recent vulnerability has been identified that could allow unauthorized access through directory traversal attacks.
Vulnerability Detail
The vulnerability identified as CVE-2025-6020 in the pam package allows for directory traversal, which could enable an attacker to gain unauthorized access to sensitive files on the system. This issue arises from improper validation of user input, allowing attackers to manipulate file paths and access files outside of the intended directory structure. The ramifications of this vulnerability could include unauthorized data exposure, system compromise, and potential escalation of privileges.
How To Fix
Minimum fixed version
1.6.1-8.el10
This is the first release that contains the fix.
sudo dnf update pam
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users should restrict access to sensitive files and directories until the package can be updated. This can be done by modifying file permissions or using access control lists (ACLs) to limit user access.
Conclusion
The directory traversal vulnerability in the pam package poses significant risks to system security. It is crucial for users to update their packages to the latest patched versions to mitigate these risks. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.
See every vulnerability recorded for pam →
FAQ
CVE-2025-6020 is a directory traversal vulnerability in the pam package that allows attackers to access files outside of the intended directory structure.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities. By uploading your manifest file, you can check if your application is affected by CVE-2025-6020.
The potential impacts include unauthorized access to sensitive files, data exposure, and possible escalation of privileges, leading to a compromised system.
Yes, a patch is available in version 1.6.1-8.el10 of the pam package. It is recommended to update to this version or later.
If immediate updates are not possible, consider implementing temporary workarounds such as restricting access to sensitive files and directories.
Related vulnerabilities
Recent vulnerabilities recorded for pam.