Moderate Security Vulnerability in pcs and pcs-snmp Packages: Open Redirect via X-Forwarded-Host Header
Summary
ALSA-2024:10987: Moderate: pcs security update. Affects pcs versions < 0.10.18-2.el8_10.3.alma.1. Fixed in 0.10.18-2.el8_10.3.alma.1. 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 pcs (Pacemaker Configuration System) packages provide a command-line configuration system for the Pacemaker and Corosync utilities, which are essential for managing high-availability clusters. These packages allow users to configure and manage cluster resources effectively. However, a recent vulnerability has been identified that affects the security of these packages, specifically related to how they handle HTTP headers.
Vulnerability Detail
The vulnerability, identified as CVE-2024-21510, is an Open Redirect issue in the Sinatra framework used by the pcs packages. This flaw allows an attacker to manipulate the X-Forwarded-Host header, potentially redirecting users to malicious sites. The ramifications of this vulnerability include the risk of phishing attacks and unauthorized access to sensitive information, as users may be misled into visiting harmful URLs.
How To Fix
Minimum fixed version
0.10.18-2.el8_10.3.alma.1
This is the first release that contains the fix.
sudo dnf update pcs
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, you can restrict the use of the X-Forwarded-Host header in your application configuration until the packages are updated. This can help mitigate the risk of exploitation until a proper fix is applied.
Conclusion
In summary, the pcs and pcs-snmp packages have a moderate security vulnerability that could lead to serious security risks if not addressed. It is crucial to update to the latest patched version to protect your systems from potential exploitation. Additionally, using tools like Vulert can help monitor and alert for open-source vulnerabilities in your software.
See every vulnerability recorded for pcs →
FAQ
The vulnerability is an Open Redirect issue that allows attackers to redirect users to malicious websites by manipulating HTTP headers.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
The potential impacts include phishing attacks, unauthorized access to sensitive information, and loss of user trust.
Yes, a patch is available in version 0.10.18-2.el8_10.3.alma.1 of the pcs and pcs-snmp packages.
If you cannot update immediately, consider implementing a temporary workaround by restricting the use of the X-Forwarded-Host header in your application.
Related vulnerabilities
Recent vulnerabilities recorded for pcs.