Sensitive Data Exposure in Pgpool-II: CVE-2024-45624
Summary
CVE-2024-45624: Exposure of sensitive information due to incompatible policies issue exists in Pgpool-II. Affects pgpool versions < 4.5.4-r0. Fixed in 4.5.4-r0. 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
Pgpool-II is a middleware that works between PostgreSQL servers and a PostgreSQL database client. It provides features such as connection pooling, load balancing, and query caching to enhance database performance and reliability. However, a vulnerability has been identified that allows unauthorized access to sensitive data within the query cache, potentially exposing confidential information to users without proper permissions.
Vulnerability Detail
The vulnerability, identified as CVE-2024-45624, arises from incompatible policies within Pgpool-II. When a database user accesses the query cache, there is a risk that they may retrieve table data that they are not authorized to see. This exposure of sensitive information can lead to significant security breaches, including unauthorized data access and potential data leaks, which can compromise the integrity and confidentiality of the database system.
How To Fix
Minimum fixed version
4.5.4-r0
This is the first release that contains the fix.
sudo apk add --upgrade pgpool
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, database administrators can restrict access to the query cache by modifying user permissions and ensuring that only authorized users have access to sensitive data. This can be done by reviewing and adjusting the database user roles and permissions accordingly.
Conclusion
CVE-2024-45624 represents a significant vulnerability in Pgpool-II that can lead to unauthorized access to sensitive data. It is crucial for users to update their systems and review permissions to safeguard their databases. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for pgpool →
FAQ
CVE-2024-45624 is a vulnerability in Pgpool-II that allows unauthorized access to sensitive data through the query cache.
This vulnerability can lead to unauthorized users retrieving sensitive information, which may compromise the security and confidentiality of your database.
If you are using Pgpool-II, you should update to the latest version that addresses this vulnerability and review user permissions to mitigate risks.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
The potential consequences include unauthorized data access, data leaks, and overall compromise of database security.
Related vulnerabilities
Recent vulnerabilities recorded for pgpool.