rh-postgresql95-postgresql-9.5.9-4.el7
エラータID: AXSA:2017-2468:03
PostgreSQL is an advanced object-relational database management system (DBMS).
Security Fix(es):
* Privilege escalation flaws were found in the initialization scripts of PostgreSQL. An attacker with access to the postgres user account could use these flaws to obtain root access on the server machine. (CVE-2017-12172, CVE-2017-15097)
Note: This patch drops the script privileges from root to the postgres user. Therefore, we dropped the --new-systemd-unit option for security reasons. Please use the root-only script postgresql-new-systemd-unit.
Asianux would like to thank the PostgreSQL project for reporting CVE-2017-12172. The CVE-2017-15097 issue was discovered by Pedro Barbosa (Asianux) and the PostgreSQL project. Upstream acknowledges Antoine Scemama (Brainloop) as the original reporter of these issues.
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 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.
CVE-2017-15097
** RESERVED **
This candidate has been reserved by an organization or individual that
will use it when announcing a new security problem. When the
candidate has been publicized, the details for this candidate will be
provided.
Update packages.
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.
Privilege escalation flaws were found in the Red Hat initialization scripts of PostgreSQL. An attacker with access to the postgres user account could use these flaws to obtain root access on the server machine.
N/A
SRPMS
- rh-postgresql95-postgresql-9.5.9-4.el7.src.rpm
MD5: 16518326e8d60d8b6fc04ee1a043f121
SHA-256: 786047f45a60d5adeadee4329e68c18f8c0d7cfbc81e01724032b2f752772084
Size: 25.76 MB
Asianux Server 7 for x86_64
- rh-postgresql95-postgresql-9.5.9-4.el7.x86_64.rpm
MD5: e7dfded160032aa2a5041a44c5d651a9
SHA-256: a33a613b33a161dc73a3ca3473a38827b0cd57246e7fd813936754af4881546b
Size: 3.30 MB - rh-postgresql95-postgresql-contrib-9.5.9-4.el7.x86_64.rpm
MD5: c3ddcc1921be62d8fd2b52853d0d680b
SHA-256: 3ae518e86de1ce7969e7b1b20b7ae1c324986a7a0e16673af98e01fe98748adf
Size: 638.49 kB - rh-postgresql95-postgresql-devel-9.5.9-4.el7.x86_64.rpm
MD5: 4c7ac489d4fc9d4edc4072209d9549fb
SHA-256: 412dce52eba2c9d46232f81f281a6f9170ab8cd39bc6175620e21e62d105f425
Size: 1.10 MB - rh-postgresql95-postgresql-docs-9.5.9-4.el7.x86_64.rpm
MD5: 90439a4a90979f691ab3b5dcad554a46
SHA-256: d2a2cdd70b6e8fd47fe0e49aaa0763172f6b282b72762455acccd11f4fc8e4dc
Size: 10.23 MB - rh-postgresql95-postgresql-libs-9.5.9-4.el7.x86_64.rpm
MD5: 21e1356e0080f07b8f1a728c01e8c8d4
SHA-256: 48093056b64775c8d582b16a8f4ec9bf4186361d455b7ba1e9f028f1f9b411dc
Size: 246.19 kB - rh-postgresql95-postgresql-plperl-9.5.9-4.el7.x86_64.rpm
MD5: 02fc8ab8d17162409865ce848c1b2ebc
SHA-256: 2df3dbda2397491ca76c221c08dbf6885794f08d439bec6a7695ec604efc6c98
Size: 87.18 kB - rh-postgresql95-postgresql-plpython-9.5.9-4.el7.x86_64.rpm
MD5: fce1aa31b18b4376673ab2b7a77dea77
SHA-256: c3d3b01436f35be38fc4d1f45887c63a827786884ed0b6d72992c1d069956391
Size: 99.87 kB - rh-postgresql95-postgresql-pltcl-9.5.9-4.el7.x86_64.rpm
MD5: fdbc18b54e5007af4fb7a271f7cdde68
SHA-256: 5ace3170f2329fdde797fa8cfba4aee24dc6a8ae19cf81fdbd3945a5a531213f
Size: 64.11 kB - rh-postgresql95-postgresql-server-9.5.9-4.el7.x86_64.rpm
MD5: 19162acf9d6d325bf6ad354b6eb4c034
SHA-256: 2c9f8ef0fdc0106711436efb49655a97002e1775b1aa29f8f3c95986f29fba14
Size: 4.32 MB - rh-postgresql95-postgresql-static-9.5.9-4.el7.x86_64.rpm
MD5: a7408bad095f2db673776f3a27d81788
SHA-256: c42af225ed539ba7ebd7d11ea96a383b517b8eb7955a777b4f23e86406fda1f8
Size: 131.32 kB - rh-postgresql95-postgresql-test-9.5.9-4.el7.x86_64.rpm
MD5: 27c819562fb68acee849567a12d916a1
SHA-256: 5a6aa774e01362f465496d09d3f6ce8fa22934ad3df22df992a3a59c601ec2f0
Size: 1.45 MB