Information Leakage in PostgreSQL
Summary
CVE-2017-7484: It was found that some selectivity estimation functions in PostgreSQL before 9.2.21, 9.3.x before 9.3.17, 9.4.x before 9.4.12, 9.5.x before 9.5.7, and 9.6.x before 9.6.3 did not check user privileges before providing inf... Affects postgresql versions < 9.6.3-r0. Fixed in 9.6.3-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
PostgreSQL is an open-source relational database management system known for its robustness, extensibility, and adherence to SQL standards. It is widely used in various applications and industries. However, a vulnerability has been discovered in PostgreSQL versions before 9.2.21, 9.3.x before 9.3.17, 9.4.x before 9.4.12, 9.5.x before 9.5.7, and 9.6.x before 9.6.3. This vulnerability allows unprivileged attackers to access information from tables they are not authorized to access, potentially leading to data theft.
Vulnerability Detail
The vulnerability, identified as CVE-2017-7484, arises from selectivity estimation functions in PostgreSQL not properly checking user privileges before providing information from pg_statistic. This flaw enables unauthorized users to retrieve sensitive information from tables they should not have access to. By exploiting this vulnerability, an attacker can steal data and compromise the confidentiality of the affected system.
How To Fix
Minimum fixed version
9.6.3-r0
This is the first release that contains the fix.
sudo apk add --upgrade postgresql
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
No specific workaround has been provided for this vulnerability. It is crucial to apply the recommended fix by updating PostgreSQL to the patched version.
Conclusion
The information leakage vulnerability in PostgreSQL versions before 9.2.21, 9.3.x before 9.3.17, 9.4.x before 9.4.12, 9.5.x before 9.5.7, and 9.6.x before 9.6.3 can lead to unauthorized access to sensitive data. It is crucial to update PostgreSQL to the patched version to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for postgresql →
FAQ
PostgreSQL is an open-source relational database management system known for its robustness, extensibility, and adherence to SQL standards.
Versions before 9.2.21, 9.3.x before 9.3.17, 9.4.x before 9.4.12, 9.5.x before 9.5.7, and 9.6.x before 9.6.3 are affected.
By exploiting this vulnerability, an attacker can access information from tables they are not authorized to access, potentially leading to data theft.
No specific workaround has been provided. It is recommended to update PostgreSQL to the patched version.
To fix this vulnerability, update PostgreSQL to version 9.2.21, 9.3.17, 9.4.12, 9.5.7, or 9.6.3, depending on the specific version in use.
Related vulnerabilities
Recent vulnerabilities recorded for postgresql.