Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2017-12172

6.7 · MEDIUM
Published Nov 22, 2017 postgresql CWE-59 EPSS 0.59% (46th pctl)

Overview

CVE-2017-12172 is a medium-severity vulnerability affecting postgresql postgresql. It was published on November 22, 2017 and has a CVSS 3.0 base score of 6.7 (MEDIUM).

This vulnerability has a CVSS 3.0 base score of 6.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20, and 9.2.x before 9.2.24 runs under a non-root operating system account, and database superusers have effective ability to run arbitrary code under that system account. PostgreSQL provides a script for starting the database server during system boot. Packages of PostgreSQL for many operating systems provide their own, packager-authored startup implementations. Several implementations use a log file name that the database superuser can replace with a symbolic link. As root, they open(), chmod() and/or chown() this log file name. This often suffices for the database superuser to escalate to root privileges when root starts the server.

Remediation

Check the references section for vendor advisories and patches from postgresql. Update postgresql to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status

Frequently Asked Questions

What is CVE-2017-12172?

CVE-2017-12172 is a medium-severity vulnerability affecting postgresql postgresql. It was published on November 22, 2017 and has a CVSS 3.0 base score of 6.7 (MEDIUM).

How severe is CVE-2017-12172?

This vulnerability has a CVSS 3.0 base score of 6.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2017-12172?

Check the references section for vendor advisories and patches from postgresql. Update postgresql to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2017-12172?

CyberStrike's AI-powered security agents can automatically detect CVE-2017-12172 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.