Skip to main content
Network Thinking Solutions Logo

CVE-2017-12172

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…

All CVEs
CVE-2017-12172Published 11/22/2017

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…

Vendor advisory
CVSS6.7Medium

Overview

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.

Published
11/22/2017
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
postgresql
postgresql
9.2

Verify advisory

Source
postgresql
postgresql
9.2.1

Verify advisory

Source
postgresql
postgresql
9.2.2

Verify advisory

Source
postgresql
postgresql
9.2.3

Verify advisory

Source
postgresql
postgresql
9.2.4

Verify advisory

Source
postgresql
postgresql
9.2.5

Verify advisory

Source
postgresql
postgresql
9.2.6

Verify advisory

Source
postgresql
postgresql
9.2.7

Verify advisory

Source
postgresql
postgresql
9.2.8

Verify advisory

Source
postgresql
postgresql
9.2.9

Verify advisory

Source
postgresql
postgresql
9.2.10

Verify advisory

Source
postgresql
postgresql
9.2.11

Verify advisory

Source
postgresql
postgresql
9.2.12

Verify advisory

Source
postgresql
postgresql
9.2.13

Verify advisory

Source
postgresql
postgresql
9.2.14

Verify advisory

Source
postgresql
postgresql
9.2.15

Verify advisory

Source
postgresql
postgresql
9.2.16

Verify advisory

Source
postgresql
postgresql
9.2.17

Verify advisory

Source
postgresql
postgresql
9.2.18

Verify advisory

Source
postgresql
postgresql
9.2.19

Verify advisory

Source
postgresql
postgresql
9.2.20

Verify advisory

Source
postgresql
postgresql
9.2.21

Verify advisory

Source
postgresql
postgresql
9.2.22

Verify advisory

Source
postgresql
postgresql
9.2.23

Verify advisory

Source
postgresql
postgresql
9.3

Verify advisory

Source
postgresql
postgresql
9.3.1

Verify advisory

Source
postgresql
postgresql
9.3.2

Verify advisory

Source
postgresql
postgresql
9.3.3

Verify advisory

Source
postgresql
postgresql
9.3.4

Verify advisory

Source
postgresql
postgresql
9.3.5

Verify advisory

Source
postgresql
postgresql
9.3.6

Verify advisory

Source
postgresql
postgresql
9.3.7

Verify advisory

Source
postgresql
postgresql
9.3.8

Verify advisory

Source
postgresql
postgresql
9.3.9

Verify advisory

Source
postgresql
postgresql
9.3.10

Verify advisory

Source
postgresql
postgresql
9.3.11

Verify advisory

Source
postgresql
postgresql
9.3.12

Verify advisory

Source
postgresql
postgresql
9.3.13

Verify advisory

Source
postgresql
postgresql
9.3.14

Verify advisory

Source
postgresql
postgresql
9.3.15

Verify advisory

Source
postgresql
postgresql
9.3.16

Verify advisory

Source
postgresql
postgresql
9.3.17

Verify advisory

Source
postgresql
postgresql
9.3.18

Verify advisory

Source
postgresql
postgresql
9.3.19

Verify advisory

Source
postgresql
postgresql
9.4

Verify advisory

Source
postgresql
postgresql
9.4.1

Verify advisory

Source
postgresql
postgresql
9.4.2

Verify advisory

Source
postgresql
postgresql
9.4.3

Verify advisory

Source
postgresql
postgresql
9.4.4

Verify advisory

Source
postgresql
postgresql
9.4.5

Verify advisory

Source
postgresql
postgresql
9.4.6

Verify advisory

Source
postgresql
postgresql
9.4.7

Verify advisory

Source
postgresql
postgresql
9.4.8

Verify advisory

Source
postgresql
postgresql
9.4.9

Verify advisory

Source
postgresql
postgresql
9.4.10

Verify advisory

Source
postgresql
postgresql
9.4.11

Verify advisory

Source
postgresql
postgresql
9.4.12

Verify advisory

Source
postgresql
postgresql
9.4.13

Verify advisory

Source
postgresql
postgresql
9.4.14

Verify advisory

Source
postgresql
postgresql
9.5

Verify advisory

Source
postgresql
postgresql
9.5.1

Verify advisory

Source
postgresql
postgresql
9.5.2

Verify advisory

Source
postgresql
postgresql
9.5.3

Verify advisory

Source
postgresql
postgresql
9.5.4

Verify advisory

Source
postgresql
postgresql
9.5.5

Verify advisory

Source
postgresql
postgresql
9.5.6

Verify advisory

Source
postgresql
postgresql
9.5.7

Verify advisory

Source
postgresql
postgresql
9.5.8

Verify advisory

Source
postgresql
postgresql
9.5.9

Verify advisory

Source
postgresql
postgresql
9.6

Verify advisory

Source
postgresql
postgresql
9.6.1

Verify advisory

Source
postgresql
postgresql
9.6.2

Verify advisory

Source
postgresql
postgresql
9.6.3

Verify advisory

Source
postgresql
postgresql
9.6.4

Verify advisory

Source
postgresql
postgresql
9.6.5

Verify advisory

Source
postgresql
postgresql
10

Verify advisory

Source
postgresql
Red Hat, Inc.
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, 9.2.x before 9.2.24

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 6.7. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.