CVE-2017-12172 (GCVE-0-2017-12172)
Vulnerability from cvelistv5 – Published: 2017-11-22 19:00 – Updated: 2026-10-15 15:51| URL | Tags |
|---|---|
| https://access.redhat.com/errata/RHSA-2017:3402 | vendor-advisoryx_refsource_REDHAT |
| http://www.securityfocus.com/bid/101949 | vdb-entryx_refsource_BID |
| https://access.redhat.com/errata/RHSA-2017:3403 | vendor-advisoryx_refsource_REDHAT |
| https://access.redhat.com/errata/RHSA-2017:3405 | vendor-advisoryx_refsource_REDHAT |
| https://www.postgresql.org/support/security/ | x_refsource_MISC |
| http://www.securitytracker.com/id/1039752 | vdb-entryx_refsource_SECTRACK |
| https://www.postgresql.org/about/news/1801/ | x_refsource_CONFIRM |
| https://access.redhat.com/errata/RHSA-2017:3404 | vendor-advisoryx_refsource_REDHAT |
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Red Hat, Inc. | postgresql |
Affected:
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
|
guessed |
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-05T18:28:16.655Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "RHSA-2017:3402",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3402"
},
{
"name": "101949",
"tags": [
"vdb-entry",
"x_refsource_BID",
"x_transferred"
],
"url": "http://www.securityfocus.com/bid/101949"
},
{
"name": "RHSA-2017:3403",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3403"
},
{
"name": "RHSA-2017:3405",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3405"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://www.postgresql.org/support/security/"
},
{
"name": "1039752",
"tags": [
"vdb-entry",
"x_refsource_SECTRACK",
"x_transferred"
],
"url": "http://www.securitytracker.com/id/1039752"
},
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://www.postgresql.org/about/news/1801/"
},
{
"name": "RHSA-2017:3404",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3404"
}
],
"title": "CVE Program Container"
},
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2017-12172",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-15T15:51:47.114676Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-15T15:51:56.380Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "postgresql",
"vendor": "Red Hat, Inc.",
"versions": [
{
"status": "affected",
"version": "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"
}
]
}
],
"datePublic": "2017-11-09T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-59",
"description": "CWE-59",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2017-12-08T10:57:01.000Z",
"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
"shortName": "redhat"
},
"references": [
{
"name": "RHSA-2017:3402",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3402"
},
{
"name": "101949",
"tags": [
"vdb-entry",
"x_refsource_BID"
],
"url": "http://www.securityfocus.com/bid/101949"
},
{
"name": "RHSA-2017:3403",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3403"
},
{
"name": "RHSA-2017:3405",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3405"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://www.postgresql.org/support/security/"
},
{
"name": "1039752",
"tags": [
"vdb-entry",
"x_refsource_SECTRACK"
],
"url": "http://www.securitytracker.com/id/1039752"
},
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://www.postgresql.org/about/news/1801/"
},
{
"name": "RHSA-2017:3404",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3404"
}
],
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "secalert@redhat.com",
"DATE_PUBLIC": "2017-11-09T00:00:00",
"ID": "CVE-2017-12172",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "postgresql",
"version": {
"version_data": [
{
"version_value": "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"
}
]
}
}
]
},
"vendor_name": "Red Hat, Inc."
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-59"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "RHSA-2017:3402",
"refsource": "REDHAT",
"url": "https://access.redhat.com/errata/RHSA-2017:3402"
},
{
"name": "101949",
"refsource": "BID",
"url": "http://www.securityfocus.com/bid/101949"
},
{
"name": "RHSA-2017:3403",
"refsource": "REDHAT",
"url": "https://access.redhat.com/errata/RHSA-2017:3403"
},
{
"name": "RHSA-2017:3405",
"refsource": "REDHAT",
"url": "https://access.redhat.com/errata/RHSA-2017:3405"
},
{
"name": "https://www.postgresql.org/support/security/",
"refsource": "MISC",
"url": "https://www.postgresql.org/support/security/"
},
{
"name": "1039752",
"refsource": "SECTRACK",
"url": "http://www.securitytracker.com/id/1039752"
},
{
"name": "https://www.postgresql.org/about/news/1801/",
"refsource": "CONFIRM",
"url": "https://www.postgresql.org/about/news/1801/"
},
{
"name": "RHSA-2017:3404",
"refsource": "REDHAT",
"url": "https://access.redhat.com/errata/RHSA-2017:3404"
}
]
}
}
}
},
"cveMetadata": {
"assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
"assignerShortName": "redhat",
"cveId": "CVE-2017-12172",
"datePublished": "2017-11-22T19:00:00.000Z",
"dateReserved": "2017-08-01T00:00:00.000Z",
"dateUpdated": "2026-10-15T15:51:56.380Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2017-12172",
"date": "2026-10-29",
"epss": "0.00586",
"percentile": "0.47963"
},
"fkie_nvd": {
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2:*:*:*:*:*:*:*",
"matchCriteriaId": "AD27648F-E2FF-4779-97F9-2632DCC6B16D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.1:*:*:*:*:*:*:*",
"matchCriteriaId": "CEFB4916-8B59-4534-804C-CF9DA1B18508",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.2:*:*:*:*:*:*:*",
"matchCriteriaId": "3413A3AB-45A3-48E1-9B30-1194C4E7D49D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.3:*:*:*:*:*:*:*",
"matchCriteriaId": "5760CE83-4802-42A0-9338-E1E634882450",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.4:*:*:*:*:*:*:*",
"matchCriteriaId": "6B41009E-4028-4D82-B8D0-8B949EDC0A68",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.5:*:*:*:*:*:*:*",
"matchCriteriaId": "832F3EBE-A92C-4FB3-BF3C-0E7B750F966B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.6:*:*:*:*:*:*:*",
"matchCriteriaId": "1571EE80-55A6-4F91-909B-C46BA19EC76F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.7:*:*:*:*:*:*:*",
"matchCriteriaId": "2848E3BC-293A-4A75-BEB7-C2F1637AD3E0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.8:*:*:*:*:*:*:*",
"matchCriteriaId": "ADC9133E-94FC-4199-BD69-BBB46CF3799F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.9:*:*:*:*:*:*:*",
"matchCriteriaId": "200172CE-40AB-49E3-93D1-9947E3CBFFF8",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.10:*:*:*:*:*:*:*",
"matchCriteriaId": "E90B21A9-19A7-4DCB-A2FE-C558CCB6BBB1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.11:*:*:*:*:*:*:*",
"matchCriteriaId": "924D1F84-EC50-44C3-A156-DC8E3A5E3909",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.12:*:*:*:*:*:*:*",
"matchCriteriaId": "4A5EAF3B-B148-4B57-8E4E-0B5365003DFC",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.13:*:*:*:*:*:*:*",
"matchCriteriaId": "D5CE8DB4-CD97-4F60-9080-9FB093BD60CA",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.14:*:*:*:*:*:*:*",
"matchCriteriaId": "9B5AA780-4378-4959-9256-510C65E6E5B5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.15:*:*:*:*:*:*:*",
"matchCriteriaId": "74C9EB31-5D8E-4583-BC95-700F53854964",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.16:*:*:*:*:*:*:*",
"matchCriteriaId": "3700FF66-108C-47C2-B4C2-1CB0B5575EDA",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.17:*:*:*:*:*:*:*",
"matchCriteriaId": "239F26B4-CFB2-4D7A-939E-0215A336A490",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.18:*:*:*:*:*:*:*",
"matchCriteriaId": "1C32070D-D751-4D3E-9457-5B1D1C551E70",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.19:*:*:*:*:*:*:*",
"matchCriteriaId": "BADABD34-25A1-46D3-AEFB-249E912A723A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.20:*:*:*:*:*:*:*",
"matchCriteriaId": "C53E81C9-5693-4929-BC19-DEBAEF686E0E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.21:*:*:*:*:*:*:*",
"matchCriteriaId": "52B92B02-44DD-40D4-94F7-A3EE4621D854",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.22:*:*:*:*:*:*:*",
"matchCriteriaId": "24DF332B-0391-410E-9F92-DAE1329E0031",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.23:*:*:*:*:*:*:*",
"matchCriteriaId": "3D9D0339-16F8-4E26-87B5-2543E860B77E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3:*:*:*:*:*:*:*",
"matchCriteriaId": "5B890251-95EB-44F3-A6A7-F718F3C807B0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.1:*:*:*:*:*:*:*",
"matchCriteriaId": "D2E5BD02-8C3D-4687-88DE-1C00366270E7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.2:*:*:*:*:*:*:*",
"matchCriteriaId": "709F5DF9-9F3A-42C3-890B-521B13118C0E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.3:*:*:*:*:*:*:*",
"matchCriteriaId": "14D85A34-C897-4E52-8F97-18CA51C5461A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.4:*:*:*:*:*:*:*",
"matchCriteriaId": "A40DAD2B-A6D4-43D8-B282-A3C672356D6A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.5:*:*:*:*:*:*:*",
"matchCriteriaId": "FC2FE391-9414-480E-A9B1-CF70280E315E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.6:*:*:*:*:*:*:*",
"matchCriteriaId": "55B6A4ED-FA3B-4251-BF82-755F95277CF9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.7:*:*:*:*:*:*:*",
"matchCriteriaId": "C7142DF3-124D-43D7-ADD9-70F4F7298557",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.8:*:*:*:*:*:*:*",
"matchCriteriaId": "28DEA438-A0ED-49DC-AE51-4E9D8D4B6E7B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.9:*:*:*:*:*:*:*",
"matchCriteriaId": "810B184F-6FB8-48D8-A569-F47BA43C4862",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.10:*:*:*:*:*:*:*",
"matchCriteriaId": "064BF155-7E2D-47B9-BD2B-C6E9FC06F5FC",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.11:*:*:*:*:*:*:*",
"matchCriteriaId": "676A81BD-7EEE-4770-B9AC-451B09844D6C",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.12:*:*:*:*:*:*:*",
"matchCriteriaId": "30F23D38-BDD6-48E6-A6B2-29CD962EED99",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.13:*:*:*:*:*:*:*",
"matchCriteriaId": "89833234-3890-4E2E-8FCF-09925D83ED67",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.14:*:*:*:*:*:*:*",
"matchCriteriaId": "B8F3ACC3-CB15-47E3-A511-E1D1F75E797F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.15:*:*:*:*:*:*:*",
"matchCriteriaId": "0F6FD785-7C9F-4302-B7ED-93CA04473ACE",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.16:*:*:*:*:*:*:*",
"matchCriteriaId": "EC1BA72C-3A6E-450B-A3DE-3898DEAA9225",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.17:*:*:*:*:*:*:*",
"matchCriteriaId": "8FB6018C-3FC5-4D4E-BA7C-07C0A3B47976",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.18:*:*:*:*:*:*:*",
"matchCriteriaId": "12EC8B10-6556-4235-B3DC-C47C13675894",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.19:*:*:*:*:*:*:*",
"matchCriteriaId": "8CE02C19-1FFE-474F-8098-D6A09A34667E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4:*:*:*:*:*:*:*",
"matchCriteriaId": "77D1323D-3096-4D0F-823A-ECAC9017646D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.1:*:*:*:*:*:*:*",
"matchCriteriaId": "8A587AF3-5E70-4455-8621-DFD048207DE2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.2:*:*:*:*:*:*:*",
"matchCriteriaId": "526AFF26-B3EC-41C3-AC4C-85BFA3F99AC8",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.3:*:*:*:*:*:*:*",
"matchCriteriaId": "89D2CAB7-C3D9-4F21-B902-2E498D00EFEB",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.4:*:*:*:*:*:*:*",
"matchCriteriaId": "88797795-8B1C-455F-8C52-6169B2E47D53",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.5:*:*:*:*:*:*:*",
"matchCriteriaId": "DBDE0CC8-F1DF-4723-8FCB-9A33EA8B12D3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.6:*:*:*:*:*:*:*",
"matchCriteriaId": "90F13667-019B-49DF-929C-3D376FCDE6E4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.7:*:*:*:*:*:*:*",
"matchCriteriaId": "B9E20AA3-C0D3-492C-AF3B-9F61550E6983",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.8:*:*:*:*:*:*:*",
"matchCriteriaId": "251C78CA-EEC0-49A8-A3D2-3C86D16CCB7F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.9:*:*:*:*:*:*:*",
"matchCriteriaId": "AB443A75-2466-4164-A71B-9203933CB0D6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.10:*:*:*:*:*:*:*",
"matchCriteriaId": "B02839D4-EE7D-4D42-8934-322E46B643D4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.11:*:*:*:*:*:*:*",
"matchCriteriaId": "B1BAE807-A21F-4980-B64E-911F5E9B16BF",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.12:*:*:*:*:*:*:*",
"matchCriteriaId": "46ED9A2E-8169-4470-AE61-54829B11BDAB",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.13:*:*:*:*:*:*:*",
"matchCriteriaId": "EA755AFD-C904-4CDE-9B28-D7E5C4AAA550",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.14:*:*:*:*:*:*:*",
"matchCriteriaId": "F8B5D56C-5F3D-455E-82C3-B661E7809AED",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5:*:*:*:*:*:*:*",
"matchCriteriaId": "9FF7FC5B-C9E3-4109-B3D6-9AC06F75DCB3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.1:*:*:*:*:*:*:*",
"matchCriteriaId": "D2C15A86-9ED9-492E-877B-86963DAA761A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.2:*:*:*:*:*:*:*",
"matchCriteriaId": "9EF74623-EF0E-455D-ADEB-9E336B539D86",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.3:*:*:*:*:*:*:*",
"matchCriteriaId": "FACD7AB7-34E9-4DFC-A788-7B9BF745D780",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.4:*:*:*:*:*:*:*",
"matchCriteriaId": "F8E8AEBB-9968-458D-8EE4-2725BBE1A53F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.5:*:*:*:*:*:*:*",
"matchCriteriaId": "7ECC17E6-C5FF-4B63-807A-26E5E6932C5C",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.6:*:*:*:*:*:*:*",
"matchCriteriaId": "7DB72357-B16D-488A-995C-2703CCEC1D8F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.7:*:*:*:*:*:*:*",
"matchCriteriaId": "B9671475-BC67-436F-B2B1-5128347B3C64",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.8:*:*:*:*:*:*:*",
"matchCriteriaId": "2EC098A3-1989-4AA5-B8D5-E061A618519D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.9:*:*:*:*:*:*:*",
"matchCriteriaId": "D2ABACB8-F4B0-4635-8FC7-4B0F5B723241",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.6:*:*:*:*:*:*:*",
"matchCriteriaId": "7040466B-2A7D-4E75-8E4F-FA70D4A7E014",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.6.1:*:*:*:*:*:*:*",
"matchCriteriaId": "44887DE9-506B-46E3-922C-7B3C14B0AF33",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.6.2:*:*:*:*:*:*:*",
"matchCriteriaId": "D1250F15-7A05-452A-8958-3B1B32B326E1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.6.3:*:*:*:*:*:*:*",
"matchCriteriaId": "A18FEF31-B528-46A8-AAA8-63B30D5A10EC",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.6.4:*:*:*:*:*:*:*",
"matchCriteriaId": "A35D61BD-50A7-4ACF-BA62-8F56C0740DA5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.6.5:*:*:*:*:*:*:*",
"matchCriteriaId": "546FEA34-A6D9-47C4-A5B2-F492E1457F09",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:10:*:*:*:*:*:*:*",
"matchCriteriaId": "0D02ADF5-706F-42B7-B88A-8BC6DEC8DC4A",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "PostgreSQL, en versiones 10.x anteriores a la 10.1; versiones 9.6.x anteriores a la 9.6.6; versiones 9.5.x anteriores a la 9.5.10; versiones 9.4.x anteriores a la 9.4.15, versiones 9.3.x anteriores a la 9.3.20 y versiones 9.2.x anteriores a la 9.2.24, se ejecuta en una cuenta del sistema operativo no root. Los superusuarios de la base de datos pueden ejecutar c\u00f3digo arbitrario bajo esa cuenta del sistema. PostgreSQL proporciona un script para iniciar el servidor de la base de datos durante el arranque del sistema. Los paquetes de PostgreSQL para muchos sistemas operativos proporcionan sus propias implementaciones de inicio creadas por el empaquetador. Varias implementaciones emplean un nombre de archivo de registro que el superusuario de la base de datos puede remplazar por un enlace simb\u00f3lico. Como root, pueden utilizar open(), chmod() y/o chown() para este nombre de archivo de registro. Esto suele ser suficiente para que el superusuario de la base de datos escale sus privilegios a root cuando el root inicia el servidor."
}
],
"id": "CVE-2017-12172",
"lastModified": "2024-11-21T03:08:58.870",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "HIGH",
"cvssData": {
"accessComplexity": "LOW",
"accessVector": "LOCAL",
"authentication": "NONE",
"availabilityImpact": "COMPLETE",
"baseScore": 7.2,
"confidentialityImpact": "COMPLETE",
"integrityImpact": "COMPLETE",
"vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C",
"version": "2.0"
},
"exploitabilityScore": 3.9,
"impactScore": 10.0,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": false
}
],
"cvssMetricV30": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 6.7,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "HIGH",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
"version": "3.0"
},
"exploitabilityScore": 0.8,
"impactScore": 5.9,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2017-11-22T19:29:00.223",
"references": [
{
"source": "secalert@redhat.com",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securityfocus.com/bid/101949"
},
{
"source": "secalert@redhat.com",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securitytracker.com/id/1039752"
},
{
"source": "secalert@redhat.com",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3402"
},
{
"source": "secalert@redhat.com",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3403"
},
{
"source": "secalert@redhat.com",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3404"
},
{
"source": "secalert@redhat.com",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3405"
},
{
"source": "secalert@redhat.com",
"tags": [
"Issue Tracking",
"Vendor Advisory"
],
"url": "https://www.postgresql.org/about/news/1801/"
},
{
"source": "secalert@redhat.com",
"tags": [
"Issue Tracking",
"Vendor Advisory"
],
"url": "https://www.postgresql.org/support/security/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securityfocus.com/bid/101949"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securitytracker.com/id/1039752"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3402"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3403"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3404"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3405"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Issue Tracking",
"Vendor Advisory"
],
"url": "https://www.postgresql.org/about/news/1801/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Issue Tracking",
"Vendor Advisory"
],
"url": "https://www.postgresql.org/support/security/"
}
],
"sourceIdentifier": "secalert@redhat.com",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-59"
}
],
"source": "secalert@redhat.com",
"type": "Secondary"
},
{
"description": [
{
"lang": "en",
"value": "CWE-59"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"product": "postgresql",
"vendor": "Red Hat, Inc.",
"versions": [
{
"status": "affected",
"version": "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"
}
]
}
],
"source": "secalert@redhat.com"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2:*:*:*:*:*:*:*",
"matchCriteriaId": "AD27648F-E2FF-4779-97F9-2632DCC6B16D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.1:*:*:*:*:*:*:*",
"matchCriteriaId": "CEFB4916-8B59-4534-804C-CF9DA1B18508",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.2:*:*:*:*:*:*:*",
"matchCriteriaId": "3413A3AB-45A3-48E1-9B30-1194C4E7D49D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.3:*:*:*:*:*:*:*",
"matchCriteriaId": "5760CE83-4802-42A0-9338-E1E634882450",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.4:*:*:*:*:*:*:*",
"matchCriteriaId": "6B41009E-4028-4D82-B8D0-8B949EDC0A68",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.5:*:*:*:*:*:*:*",
"matchCriteriaId": "832F3EBE-A92C-4FB3-BF3C-0E7B750F966B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.6:*:*:*:*:*:*:*",
"matchCriteriaId": "1571EE80-55A6-4F91-909B-C46BA19EC76F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.7:*:*:*:*:*:*:*",
"matchCriteriaId": "2848E3BC-293A-4A75-BEB7-C2F1637AD3E0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.8:*:*:*:*:*:*:*",
"matchCriteriaId": "ADC9133E-94FC-4199-BD69-BBB46CF3799F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.9:*:*:*:*:*:*:*",
"matchCriteriaId": "200172CE-40AB-49E3-93D1-9947E3CBFFF8",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.10:*:*:*:*:*:*:*",
"matchCriteriaId": "E90B21A9-19A7-4DCB-A2FE-C558CCB6BBB1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.11:*:*:*:*:*:*:*",
"matchCriteriaId": "924D1F84-EC50-44C3-A156-DC8E3A5E3909",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.12:*:*:*:*:*:*:*",
"matchCriteriaId": "4A5EAF3B-B148-4B57-8E4E-0B5365003DFC",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.13:*:*:*:*:*:*:*",
"matchCriteriaId": "D5CE8DB4-CD97-4F60-9080-9FB093BD60CA",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.14:*:*:*:*:*:*:*",
"matchCriteriaId": "9B5AA780-4378-4959-9256-510C65E6E5B5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.15:*:*:*:*:*:*:*",
"matchCriteriaId": "74C9EB31-5D8E-4583-BC95-700F53854964",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.16:*:*:*:*:*:*:*",
"matchCriteriaId": "3700FF66-108C-47C2-B4C2-1CB0B5575EDA",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.17:*:*:*:*:*:*:*",
"matchCriteriaId": "239F26B4-CFB2-4D7A-939E-0215A336A490",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.18:*:*:*:*:*:*:*",
"matchCriteriaId": "1C32070D-D751-4D3E-9457-5B1D1C551E70",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.19:*:*:*:*:*:*:*",
"matchCriteriaId": "BADABD34-25A1-46D3-AEFB-249E912A723A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.20:*:*:*:*:*:*:*",
"matchCriteriaId": "C53E81C9-5693-4929-BC19-DEBAEF686E0E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.21:*:*:*:*:*:*:*",
"matchCriteriaId": "52B92B02-44DD-40D4-94F7-A3EE4621D854",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.22:*:*:*:*:*:*:*",
"matchCriteriaId": "24DF332B-0391-410E-9F92-DAE1329E0031",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.2.23:*:*:*:*:*:*:*",
"matchCriteriaId": "3D9D0339-16F8-4E26-87B5-2543E860B77E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3:*:*:*:*:*:*:*",
"matchCriteriaId": "5B890251-95EB-44F3-A6A7-F718F3C807B0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.1:*:*:*:*:*:*:*",
"matchCriteriaId": "D2E5BD02-8C3D-4687-88DE-1C00366270E7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.2:*:*:*:*:*:*:*",
"matchCriteriaId": "709F5DF9-9F3A-42C3-890B-521B13118C0E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.3:*:*:*:*:*:*:*",
"matchCriteriaId": "14D85A34-C897-4E52-8F97-18CA51C5461A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.4:*:*:*:*:*:*:*",
"matchCriteriaId": "A40DAD2B-A6D4-43D8-B282-A3C672356D6A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.5:*:*:*:*:*:*:*",
"matchCriteriaId": "FC2FE391-9414-480E-A9B1-CF70280E315E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.6:*:*:*:*:*:*:*",
"matchCriteriaId": "55B6A4ED-FA3B-4251-BF82-755F95277CF9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.7:*:*:*:*:*:*:*",
"matchCriteriaId": "C7142DF3-124D-43D7-ADD9-70F4F7298557",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.8:*:*:*:*:*:*:*",
"matchCriteriaId": "28DEA438-A0ED-49DC-AE51-4E9D8D4B6E7B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.9:*:*:*:*:*:*:*",
"matchCriteriaId": "810B184F-6FB8-48D8-A569-F47BA43C4862",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.10:*:*:*:*:*:*:*",
"matchCriteriaId": "064BF155-7E2D-47B9-BD2B-C6E9FC06F5FC",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.11:*:*:*:*:*:*:*",
"matchCriteriaId": "676A81BD-7EEE-4770-B9AC-451B09844D6C",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.12:*:*:*:*:*:*:*",
"matchCriteriaId": "30F23D38-BDD6-48E6-A6B2-29CD962EED99",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.13:*:*:*:*:*:*:*",
"matchCriteriaId": "89833234-3890-4E2E-8FCF-09925D83ED67",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.14:*:*:*:*:*:*:*",
"matchCriteriaId": "B8F3ACC3-CB15-47E3-A511-E1D1F75E797F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.15:*:*:*:*:*:*:*",
"matchCriteriaId": "0F6FD785-7C9F-4302-B7ED-93CA04473ACE",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.16:*:*:*:*:*:*:*",
"matchCriteriaId": "EC1BA72C-3A6E-450B-A3DE-3898DEAA9225",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.17:*:*:*:*:*:*:*",
"matchCriteriaId": "8FB6018C-3FC5-4D4E-BA7C-07C0A3B47976",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.18:*:*:*:*:*:*:*",
"matchCriteriaId": "12EC8B10-6556-4235-B3DC-C47C13675894",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.3.19:*:*:*:*:*:*:*",
"matchCriteriaId": "8CE02C19-1FFE-474F-8098-D6A09A34667E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4:*:*:*:*:*:*:*",
"matchCriteriaId": "77D1323D-3096-4D0F-823A-ECAC9017646D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.1:*:*:*:*:*:*:*",
"matchCriteriaId": "8A587AF3-5E70-4455-8621-DFD048207DE2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.2:*:*:*:*:*:*:*",
"matchCriteriaId": "526AFF26-B3EC-41C3-AC4C-85BFA3F99AC8",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.3:*:*:*:*:*:*:*",
"matchCriteriaId": "89D2CAB7-C3D9-4F21-B902-2E498D00EFEB",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.4:*:*:*:*:*:*:*",
"matchCriteriaId": "88797795-8B1C-455F-8C52-6169B2E47D53",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.5:*:*:*:*:*:*:*",
"matchCriteriaId": "DBDE0CC8-F1DF-4723-8FCB-9A33EA8B12D3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.6:*:*:*:*:*:*:*",
"matchCriteriaId": "90F13667-019B-49DF-929C-3D376FCDE6E4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.7:*:*:*:*:*:*:*",
"matchCriteriaId": "B9E20AA3-C0D3-492C-AF3B-9F61550E6983",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.8:*:*:*:*:*:*:*",
"matchCriteriaId": "251C78CA-EEC0-49A8-A3D2-3C86D16CCB7F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.9:*:*:*:*:*:*:*",
"matchCriteriaId": "AB443A75-2466-4164-A71B-9203933CB0D6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.10:*:*:*:*:*:*:*",
"matchCriteriaId": "B02839D4-EE7D-4D42-8934-322E46B643D4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.11:*:*:*:*:*:*:*",
"matchCriteriaId": "B1BAE807-A21F-4980-B64E-911F5E9B16BF",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.12:*:*:*:*:*:*:*",
"matchCriteriaId": "46ED9A2E-8169-4470-AE61-54829B11BDAB",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.13:*:*:*:*:*:*:*",
"matchCriteriaId": "EA755AFD-C904-4CDE-9B28-D7E5C4AAA550",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.4.14:*:*:*:*:*:*:*",
"matchCriteriaId": "F8B5D56C-5F3D-455E-82C3-B661E7809AED",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5:*:*:*:*:*:*:*",
"matchCriteriaId": "9FF7FC5B-C9E3-4109-B3D6-9AC06F75DCB3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.1:*:*:*:*:*:*:*",
"matchCriteriaId": "D2C15A86-9ED9-492E-877B-86963DAA761A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.2:*:*:*:*:*:*:*",
"matchCriteriaId": "9EF74623-EF0E-455D-ADEB-9E336B539D86",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.3:*:*:*:*:*:*:*",
"matchCriteriaId": "FACD7AB7-34E9-4DFC-A788-7B9BF745D780",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.4:*:*:*:*:*:*:*",
"matchCriteriaId": "F8E8AEBB-9968-458D-8EE4-2725BBE1A53F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.5:*:*:*:*:*:*:*",
"matchCriteriaId": "7ECC17E6-C5FF-4B63-807A-26E5E6932C5C",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.6:*:*:*:*:*:*:*",
"matchCriteriaId": "7DB72357-B16D-488A-995C-2703CCEC1D8F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.7:*:*:*:*:*:*:*",
"matchCriteriaId": "B9671475-BC67-436F-B2B1-5128347B3C64",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.8:*:*:*:*:*:*:*",
"matchCriteriaId": "2EC098A3-1989-4AA5-B8D5-E061A618519D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.5.9:*:*:*:*:*:*:*",
"matchCriteriaId": "D2ABACB8-F4B0-4635-8FC7-4B0F5B723241",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.6:*:*:*:*:*:*:*",
"matchCriteriaId": "7040466B-2A7D-4E75-8E4F-FA70D4A7E014",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.6.1:*:*:*:*:*:*:*",
"matchCriteriaId": "44887DE9-506B-46E3-922C-7B3C14B0AF33",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.6.2:*:*:*:*:*:*:*",
"matchCriteriaId": "D1250F15-7A05-452A-8958-3B1B32B326E1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.6.3:*:*:*:*:*:*:*",
"matchCriteriaId": "A18FEF31-B528-46A8-AAA8-63B30D5A10EC",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.6.4:*:*:*:*:*:*:*",
"matchCriteriaId": "A35D61BD-50A7-4ACF-BA62-8F56C0740DA5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:9.6.5:*:*:*:*:*:*:*",
"matchCriteriaId": "546FEA34-A6D9-47C4-A5B2-F492E1457F09",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:10:*:*:*:*:*:*:*",
"matchCriteriaId": "0D02ADF5-706F-42B7-B88A-8BC6DEC8DC4A",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "PostgreSQL, en versiones 10.x anteriores a la 10.1; versiones 9.6.x anteriores a la 9.6.6; versiones 9.5.x anteriores a la 9.5.10; versiones 9.4.x anteriores a la 9.4.15, versiones 9.3.x anteriores a la 9.3.20 y versiones 9.2.x anteriores a la 9.2.24, se ejecuta en una cuenta del sistema operativo no root. Los superusuarios de la base de datos pueden ejecutar c\u00f3digo arbitrario bajo esa cuenta del sistema. PostgreSQL proporciona un script para iniciar el servidor de la base de datos durante el arranque del sistema. Los paquetes de PostgreSQL para muchos sistemas operativos proporcionan sus propias implementaciones de inicio creadas por el empaquetador. Varias implementaciones emplean un nombre de archivo de registro que el superusuario de la base de datos puede remplazar por un enlace simb\u00f3lico. Como root, pueden utilizar open(), chmod() y/o chown() para este nombre de archivo de registro. Esto suele ser suficiente para que el superusuario de la base de datos escale sus privilegios a root cuando el root inicia el servidor."
}
],
"id": "CVE-2017-12172",
"lastModified": "2026-10-15T16:17:26.737",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "HIGH",
"cvssData": {
"accessComplexity": "LOW",
"accessVector": "LOCAL",
"authentication": "NONE",
"availabilityImpact": "COMPLETE",
"baseScore": 7.2,
"confidentialityImpact": "COMPLETE",
"integrityImpact": "COMPLETE",
"vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C",
"version": "2.0"
},
"exploitabilityScore": 3.9,
"impactScore": 10.0,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": false
}
],
"cvssMetricV30": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 6.7,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "HIGH",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
"version": "3.0"
},
"exploitabilityScore": 0.8,
"impactScore": 5.9,
"source": "nvd@nist.gov",
"type": "Primary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2017-12172",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-15T15:51:47.114676Z",
"version": "2.0.3"
}
}
]
},
"published": "2017-11-22T19:29:00.223",
"references": [
{
"source": "secalert@redhat.com",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securityfocus.com/bid/101949"
},
{
"source": "secalert@redhat.com",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securitytracker.com/id/1039752"
},
{
"source": "secalert@redhat.com",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3402"
},
{
"source": "secalert@redhat.com",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3403"
},
{
"source": "secalert@redhat.com",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3404"
},
{
"source": "secalert@redhat.com",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3405"
},
{
"source": "secalert@redhat.com",
"tags": [
"Issue Tracking",
"Vendor Advisory"
],
"url": "https://www.postgresql.org/about/news/1801/"
},
{
"source": "secalert@redhat.com",
"tags": [
"Issue Tracking",
"Vendor Advisory"
],
"url": "https://www.postgresql.org/support/security/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securityfocus.com/bid/101949"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securitytracker.com/id/1039752"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3402"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3403"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3404"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3405"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Issue Tracking",
"Vendor Advisory"
],
"url": "https://www.postgresql.org/about/news/1801/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Issue Tracking",
"Vendor Advisory"
],
"url": "https://www.postgresql.org/support/security/"
}
],
"sourceIdentifier": "secalert@redhat.com",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-59"
}
],
"source": "secalert@redhat.com",
"type": "Secondary"
},
{
"description": [
{
"lang": "en",
"value": "CWE-59"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-06-28T06:37:46+00:00",
"cve": "CVE-2017-12172",
"id": "CVE-2017-12172",
"initial_release_date": "2017-11-09T00:00:00+00:00",
"product_status:fixed": "586",
"product_status:known_affected": "25",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "postgresql: Start scripts permit database administrator to modify root-owned files",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-12172.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "moderate",
"current_release_date": "2026-10-17T02:16:35Z",
"cve": "CVE-2017-12172",
"id": "CVE-2017-12172",
"initial_release_date": "2023-02-15T04:42:07Z",
"product_status:known_affected": "0",
"product_status:known_not_affected": "25",
"product_status:recommended": "65",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2017-12172",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2023/cve-2017-12172.json",
"version": "15"
},
"vulnrichment": {
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-05T18:28:16.655Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "RHSA-2017:3402",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3402"
},
{
"name": "101949",
"tags": [
"vdb-entry",
"x_refsource_BID",
"x_transferred"
],
"url": "http://www.securityfocus.com/bid/101949"
},
{
"name": "RHSA-2017:3403",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3403"
},
{
"name": "RHSA-2017:3405",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3405"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://www.postgresql.org/support/security/"
},
{
"name": "1039752",
"tags": [
"vdb-entry",
"x_refsource_SECTRACK",
"x_transferred"
],
"url": "http://www.securitytracker.com/id/1039752"
},
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://www.postgresql.org/about/news/1801/"
},
{
"name": "RHSA-2017:3404",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3404"
}
],
"title": "CVE Program Container"
},
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2017-12172",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-15T15:51:47.114676Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-15T15:51:52.789Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "postgresql",
"vendor": "Red Hat, Inc.",
"versions": [
{
"status": "affected",
"version": "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"
}
]
}
],
"datePublic": "2017-11-09T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-59",
"description": "CWE-59",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2017-12-08T10:57:01.000Z",
"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
"shortName": "redhat"
},
"references": [
{
"name": "RHSA-2017:3402",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3402"
},
{
"name": "101949",
"tags": [
"vdb-entry",
"x_refsource_BID"
],
"url": "http://www.securityfocus.com/bid/101949"
},
{
"name": "RHSA-2017:3403",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3403"
},
{
"name": "RHSA-2017:3405",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3405"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://www.postgresql.org/support/security/"
},
{
"name": "1039752",
"tags": [
"vdb-entry",
"x_refsource_SECTRACK"
],
"url": "http://www.securitytracker.com/id/1039752"
},
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://www.postgresql.org/about/news/1801/"
},
{
"name": "RHSA-2017:3404",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT"
],
"url": "https://access.redhat.com/errata/RHSA-2017:3404"
}
],
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "secalert@redhat.com",
"DATE_PUBLIC": "2017-11-09T00:00:00",
"ID": "CVE-2017-12172",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "postgresql",
"version": {
"version_data": [
{
"version_value": "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"
}
]
}
}
]
},
"vendor_name": "Red Hat, Inc."
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-59"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "RHSA-2017:3402",
"refsource": "REDHAT",
"url": "https://access.redhat.com/errata/RHSA-2017:3402"
},
{
"name": "101949",
"refsource": "BID",
"url": "http://www.securityfocus.com/bid/101949"
},
{
"name": "RHSA-2017:3403",
"refsource": "REDHAT",
"url": "https://access.redhat.com/errata/RHSA-2017:3403"
},
{
"name": "RHSA-2017:3405",
"refsource": "REDHAT",
"url": "https://access.redhat.com/errata/RHSA-2017:3405"
},
{
"name": "https://www.postgresql.org/support/security/",
"refsource": "MISC",
"url": "https://www.postgresql.org/support/security/"
},
{
"name": "1039752",
"refsource": "SECTRACK",
"url": "http://www.securitytracker.com/id/1039752"
},
{
"name": "https://www.postgresql.org/about/news/1801/",
"refsource": "CONFIRM",
"url": "https://www.postgresql.org/about/news/1801/"
},
{
"name": "RHSA-2017:3404",
"refsource": "REDHAT",
"url": "https://access.redhat.com/errata/RHSA-2017:3404"
}
]
}
}
}
},
"cveMetadata": {
"assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
"assignerShortName": "redhat",
"cveId": "CVE-2017-12172",
"datePublished": "2017-11-22T19:00:00.000Z",
"dateReserved": "2017-08-01T00:00:00.000Z",
"dateUpdated": "2026-10-15T15:51:56.380Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.