CVE-2017-12172

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.

Risk Information

Base Score
6.7
MODERATE
Vector
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
0.053

Associated Vulnerability

VulnerabilityOS Platform
Update PostgressSQL to 9.2.24Windows
Update PostgressSQL to 9.3.20Windows
Update PostgressSQL to 9.5.10Windows
Vulnerabilities CVE-2017-15099,CVE-2017-15098,CVE-2017-12172 are fixed in PostgreSQL 10.1Windows
Vulnerabilities CVE-2017-15099,CVE-2017-15098,CVE-2017-12172 are fixed in PostgreSQL 9.6.6Windows
Vulnerabilities CVE-2017-15099,CVE-2017-15098,CVE-2017-12172 are fixed in PostgreSQL 9.5.10Windows
Vulnerabilities CVE-2017-15098,CVE-2017-12172 are fixed in PostgreSQL 9.4.15Windows
Vulnerabilities CVE-2017-15098,CVE-2017-12172 are fixed in PostgreSQL 9.3.20Windows
Vulnerabilities CVE-2017-12172 are fixed in PostgreSQL 9.2.24Windows
(RHSA-2017:3402) Moderate: postgresql security update postgresql-9.2.23-3.el7_4.i686.rpmLinux
(RHSA-2017:3402) Moderate: postgresql security update postgresql-9.2.23-3.el7_4.x86_64.rpmLinux
(RHSA-2017:3402) Moderate: postgresql security update postgresql-contrib-9.2.23-3.el7_4.x86_64.rpmLinux
(RHSA-2017:3402) Moderate: postgresql security update postgresql-devel-9.2.23-3.el7_4.i686.rpmLinux
(RHSA-2017:3402) Moderate: postgresql security update postgresql-devel-9.2.23-3.el7_4.x86_64.rpmLinux
(RHSA-2017:3402) Moderate: postgresql security update postgresql-docs-9.2.23-3.el7_4.x86_64.rpmLinux
(RHSA-2017:3402) Moderate: postgresql security update postgresql-libs-9.2.23-3.el7_4.i686.rpmLinux
(RHSA-2017:3402) Moderate: postgresql security update postgresql-libs-9.2.23-3.el7_4.x86_64.rpmLinux
(RHSA-2017:3402) Moderate: postgresql security update postgresql-plperl-9.2.23-3.el7_4.x86_64.rpmLinux
(RHSA-2017:3402) Moderate: postgresql security update postgresql-plpython-9.2.23-3.el7_4.x86_64.rpmLinux
(RHSA-2017:3402) Moderate: postgresql security update postgresql-pltcl-9.2.23-3.el7_4.x86_64.rpmLinux
(RHSA-2017:3402) Moderate: postgresql security update postgresql-server-9.2.23-3.el7_4.x86_64.rpmLinux
(RHSA-2017:3402) Moderate: postgresql security update postgresql-static-9.2.23-3.el7_4.i686.rpmLinux
(RHSA-2017:3402) Moderate: postgresql security update postgresql-static-9.2.23-3.el7_4.x86_64.rpmLinux
(RHSA-2017:3402) Moderate: postgresql security update postgresql-test-9.2.23-3.el7_4.x86_64.rpmLinux
(RHSA-2017:3402) Moderate: postgresql security update postgresql-upgrade-9.2.23-3.el7_4.x86_64.rpmLinux
Update PostgressSQL to 9.2.24 (For Linux)Linux
Update PostgressSQL to 9.3.20 (For Linux)Linux
Update PostgressSQL to 9.5.10 (For Linux)Linux
Vulnerabilities CVE-2017-15099,CVE-2017-15098,CVE-2017-12172 are fixed in PostgreSQL 10.1 (For Linux)Linux
Vulnerabilities CVE-2017-15099,CVE-2017-15098,CVE-2017-12172 are fixed in PostgreSQL 9.6.6 (For Linux)Linux
Vulnerabilities CVE-2017-15099,CVE-2017-15098,CVE-2017-12172 are fixed in PostgreSQL 9.5.10 (For Linux)Linux
Vulnerabilities CVE-2017-15098,CVE-2017-12172 are fixed in PostgreSQL 9.4.15 (For Linux)Linux
Vulnerabilities CVE-2017-15098,CVE-2017-12172 are fixed in PostgreSQL 9.3.20 (For Linux)Linux
Vulnerabilities CVE-2017-12172 are fixed in PostgreSQL 9.2.24 (For Linux)Linux
Postgresql-server update (ELSA-2024-10882) postgresql-server-9.2.24-9.0.3.el7_9.x86_64.rpmLinux
Postgresql-pltcl update (ELSA-2024-10882) postgresql-pltcl-9.2.24-9.0.3.el7_9.x86_64.rpmLinux
Postgresql-plpython update (ELSA-2024-10882) postgresql-plpython-9.2.24-9.0.3.el7_9.x86_64.rpmLinux
Postgresql-plperl update (ELSA-2024-10882) postgresql-plperl-9.2.24-9.0.3.el7_9.x86_64.rpmLinux
Postgresql-libs update (ELSA-2024-10882) postgresql-libs-9.2.24-9.0.3.el7_9.x86_64.rpmLinux
Postgresql-libs update (ELSA-2024-10882) postgresql-libs-9.2.24-9.0.3.el7_9.i686.rpmLinux
Postgresql-docs update (ELSA-2024-10882) postgresql-docs-9.2.24-9.0.3.el7_9.x86_64.rpmLinux
Postgresql-devel update (ELSA-2024-10882) postgresql-devel-9.2.24-9.0.3.el7_9.x86_64.rpmLinux
Postgresql-devel update (ELSA-2024-10882) postgresql-devel-9.2.24-9.0.3.el7_9.i686.rpmLinux
Postgresql-contrib update (ELSA-2024-10882) postgresql-contrib-9.2.24-9.0.3.el7_9.x86_64.rpmLinux
Postgresql update (ELSA-2024-10882) postgresql-9.2.24-9.0.3.el7_9.x86_64.rpmLinux
Postgresql update (ELSA-2024-10882) postgresql-9.2.24-9.0.3.el7_9.i686.rpmLinux
Postgresql-test update (ELSA-2024-10882) postgresql-test-9.2.24-9.0.3.el7_9.x86_64.rpmLinux
Improper Link Resolution Before File Access (Link Following) Vulnerability (CVE-2017-12172)NCM

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234