{"schemaVersion":3,"id":"CVE-2012-0867","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"PostgreSQL 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 truncates the common name to only 32 characters when verifying SSL certificates, which allows remote attackers to spoof connections when the host name is exactly 32 characters.","dates":{"published":"2012-07-18T23:00:00.000Z","modified":"2024-08-06T18:38:14.829Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02336,"percentile":0.83338,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02336},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02336,"percentile":0.83338}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02336,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02336,"percentile":0.83338}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-295","name":"Improper Certificate Validation","description":"The product does not validate, or incorrectly validates, a certificate.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/295.html"}],"affected":[{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0","eol":{"isEol":true,"eolDate":"2016-02-29T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"6","label":"6 (Squeeze)","eolFrom":"2016-02-29T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"6.0.10"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"opensuse_project","product":"opensuse","name":"opensuse","label":"opensuse","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"12.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"12.2","eol":null,"hubHref":"/vendor/opensuse_project/opensuse"},{"vendor":"postgresql","product":"postgresql","name":"postgresql","label":"postgresql","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"8.4","noFixRecorded":false,"fixedIn":null},{"text":"8.4.1","noFixRecorded":false,"fixedIn":null},{"text":"8.4.2","noFixRecorded":false,"fixedIn":null},{"text":"8.4.3","noFixRecorded":false,"fixedIn":null},{"text":"8.4.4","noFixRecorded":false,"fixedIn":null},{"text":"8.4.5","noFixRecorded":false,"fixedIn":null},{"text":"8.4.6","noFixRecorded":false,"fixedIn":null},{"text":"8.4.7","noFixRecorded":false,"fixedIn":null},{"text":"8.4.8","noFixRecorded":false,"fixedIn":null},{"text":"8.4.9","noFixRecorded":false,"fixedIn":null},{"text":"8.4.10","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0.1","noFixRecorded":false,"fixedIn":null},{"text":"9.0.2","noFixRecorded":false,"fixedIn":null},{"text":"9.0.3","noFixRecorded":false,"fixedIn":null},{"text":"9.0.4","noFixRecorded":false,"fixedIn":null},{"text":"9.0.5","noFixRecorded":false,"fixedIn":null},{"text":"9.0.6","noFixRecorded":false,"fixedIn":null},{"text":"9.1","noFixRecorded":false,"fixedIn":null},{"text":"9.1.1","noFixRecorded":false,"fixedIn":null},{"text":"9.1.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.4 | 8.4.1 | 8.4.2 | 8.4.3 | 8.4.4 | 8.4.5 | 8.4.6 | 8.4.7 | 8.4.8 | 8.4.9 | 8.4.10 | 9.0 | 9.0.1 | 9.0.2 | 9.0.3 | 9.0.4 | 9.0.5 | 9.0.6 | 9.1 | 9.1.1 | 9.1.2","eol":{"isEol":true,"eolDate":"2014-07-24T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8.4","label":"8.4","eolFrom":"2014-07-24T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.4.22"},"product":{"name":"postgresql","label":"PostgreSQL","category":"database"}},"hubHref":"/vendor/postgresql/postgresql"},{"vendor":"redhat","product":"desktop_workstation","name":"desktop workstation","label":"desktop_workstation","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"5","noFixRecorded":false,"fixedIn":null}],"versionsText":"5","eol":null,"hubHref":"/vendor/redhat/desktop_workstation"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.0","eol":{"isEol":true,"eolDate":"2017-03-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"5","label":"5 (ELS)","eolFrom":"2017-03-31T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"5.11"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"},{"vendor":"redhat","product":"enterprise_linux_desktop","name":"enterprise linux desktop","label":"enterprise_linux_desktop","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"5.0","noFixRecorded":false,"fixedIn":null},{"text":"6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.0 | 6.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_desktop"},{"vendor":"redhat","product":"enterprise_linux_hpc_node","name":"enterprise linux hpc node","label":"enterprise_linux_hpc_node","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_hpc_node"},{"vendor":"redhat","product":"enterprise_linux_server","name":"enterprise linux server","label":"enterprise_linux_server","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server"},{"vendor":"redhat","product":"enterprise_linux_server_aus","name":"enterprise linux server aus","label":"enterprise_linux_server_aus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"6.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.2","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server_aus"},{"vendor":"redhat","product":"enterprise_linux_server_eus","name":"enterprise linux server eus","label":"enterprise_linux_server_eus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"6.2.z","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.2.z","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server_eus"},{"vendor":"redhat","product":"enterprise_linux_workstation","name":"enterprise linux workstation","label":"enterprise_linux_workstation","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_workstation"}],"affectedCount":11,"eol":{"hasEol":true,"count":3},"references":[{"url":"http://www.postgresql.org/about/news/1377/","label":"www.postgresql.org/about/news/1377/","hostname":"www.postgresql.org","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"http://secunia.com/advisories/49273","label":"secunia.com/advisories/49273","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://rhn.redhat.com/errata/RHSA-2012-0678.html","label":"rhn.redhat.com/errata/RHSA-2012-0678.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:026","label":"www.mandriva.com/security/advisories?name=MDVSA-2012:026","hostname":"www.mandriva.com","tags":["Vendor Advisory","X Refsource MANDRIVA","Broken Link"]},{"url":"http://www.postgresql.org/docs/9.0/static/release-9-0-7.html","label":"www.postgresql.org/docs/9.0/static/release-9-0-7.html","hostname":"www.postgresql.org","tags":["X Refsource CONFIRM","Release Notes","Vendor Advisory"]},{"url":"http://www.postgresql.org/docs/8.4/static/release-8-4-11.html","label":"www.postgresql.org/docs/8.4/static/release-8-4-11.html","hostname":"www.postgresql.org","tags":["X Refsource CONFIRM","Release Notes","Vendor Advisory"]},{"url":"http://www.debian.org/security/2012/dsa-2418","label":"www.debian.org/security/2012/dsa-2418","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"http://www.postgresql.org/docs/9.1/static/release-9-1-3.html","label":"www.postgresql.org/docs/9.1/static/release-9-1-3.html","hostname":"www.postgresql.org","tags":["X Refsource CONFIRM","Release Notes","Vendor Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html","label":"lists.opensuse.org/opensuse-updates/2012-09/msg00060.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-2418-1","OPENSUSE-SU-2024:10030-1","OPENSUSE-SU-2024:10256-1","OPENSUSE-SU-2024:10273-1","RHSA-2012:0678"],"duplicates":[],"related":["OPENSUSE-SU-2024:10030-1","OPENSUSE-SU-2024:10256-1","OPENSUSE-SU-2024:10273-1"]},"timeline":[{"kind":"published","date":"2012-07-18T23:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T18:38:14.829Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":18,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T08:57:20.768Z","stale":false,"partial":false}}