CVE-2015-3166
Last modified
CVE-2015-3166 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. The snprintf implementation in PostgreSQL before 9.0.20, 9.1.x before 9.1.16, 9.2.x before 9.2.11, 9.3.x before 9.3.7, and 9.4.x before 9.4.2 does not properly handle system-call errors, which allows attackers to obtain sensitive information or have other unspecified impact via unknown vectors, as demonstrated by an out-of-memory error.. EPSS estimates a 4.65% chance of exploitation in the next 30 days.
Description
The snprintf implementation in PostgreSQL before 9.0.20, 9.1.x before 9.1.16, 9.2.x before 9.2.11, 9.3.x before 9.3.7, and 9.4.x before 9.4.2 does not properly handle system-call errors, which allows attackers to obtain sensitive information or have other unspecified impact via unknown vectors, as demonstrated by an out-of-memory error.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Postgresql | Postgresql | < 9.0.20 |
| Postgresql | Postgresql | >= 9.1, < 9.1.16 |
| Postgresql | Postgresql | >= 9.2, < 9.2.11 |
| Postgresql | Postgresql | >= 9.3, < 9.3.7 |
| Postgresql | Postgresql | >= 9.4, < 9.4.2 |
| Debian | Debian Linux | 7.0 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Canonical | Ubuntu Linux | 12.04 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 14.10 |
| Canonical | Ubuntu Linux | 15.04 |
References
- http://ubuntu.com/usn/usn-2621-1Third Party Advisory
- http://www.debian.org/security/2015/dsa-3269Third Party Advisory
- http://www.debian.org/security/2015/dsa-3270Third Party Advisory
- http://www.postgresql.org/about/news/1587/Vendor Advisory
- http://www.postgresql.org/docs/9.0/static/release-9-0-20.htmlRelease Notes, Vendor Advisory
- http://www.postgresql.org/docs/9.1/static/release-9-1-16.htmlRelease Notes, Vendor Advisory
- http://www.postgresql.org/docs/9.2/static/release-9-2-11.htmlRelease Notes, Vendor Advisory
- http://www.postgresql.org/docs/9.3/static/release-9-3-7.htmlRelease Notes, Vendor Advisory
- http://www.postgresql.org/docs/9.4/static/release-9-4-2.htmlRelease Notes, Vendor Advisory
- http://ubuntu.com/usn/usn-2621-1Third Party Advisory
- http://www.debian.org/security/2015/dsa-3269Third Party Advisory
- http://www.debian.org/security/2015/dsa-3270Third Party Advisory
- http://www.postgresql.org/about/news/1587/Vendor Advisory
- http://www.postgresql.org/docs/9.0/static/release-9-0-20.htmlRelease Notes, Vendor Advisory
- http://www.postgresql.org/docs/9.1/static/release-9-1-16.htmlRelease Notes, Vendor Advisory
- http://www.postgresql.org/docs/9.2/static/release-9-2-11.htmlRelease Notes, Vendor Advisory
- http://www.postgresql.org/docs/9.3/static/release-9-3-7.htmlRelease Notes, Vendor Advisory
- http://www.postgresql.org/docs/9.4/static/release-9-4-2.htmlRelease Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2015-3166?
How severe is CVE-2015-3166?
How do I fix CVE-2015-3166?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2015
- CVE-2015-3160XML external entity (XXE) vulnerability in bkr/server/jobs.p…
- CVE-2015-3161The search bar code in bkr/server/widgets.py in Beaker befor…
- CVE-2015-3162Cross-site scripting (XSS) vulnerability in the edit comment…
- CVE-2015-3163The admin pages for power types and key types in Beaker befo…4.3
- CVE-2015-3164The authentication setup in XWayland 1.16.x and 1.17.x befor…
- CVE-2015-3165Double free vulnerability in PostgreSQL before 9.0.20, 9.1.x…
- CVE-2015-3167contrib/pgcrypto in PostgreSQL before 9.0.20, 9.1.x before 9…7.5
- CVE-2015-3168Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2015-3169Cross-site scripting (XSS) vulnerability in askbot 0.7.51-4.…
- CVE-2015-3170selinux-policy when sysctl fs.protected_hardlinks are set to…
- CVE-2015-3171sosreport 3.2 uses weak permissions for generated sosreport …5.5
- CVE-2015-3172EidoGo is susceptible to Cross-Site Scripting (XSS) attacks …5.4
Are you affected by CVE-2015-3166?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
