CVE-2015-0244
PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1 does not properly handle errors while reading a protocol message, which allows remote attackers to conduct SQL injection attacks via crafted binary data in a parameter and causing an error, which triggers the loss of synchronization and part of the protocol message to be treated as a new message, as demonstrated by causing a timeout or query cancellation.
What to do
Fixed builds are available from Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 14.04 | postgresql-9.1 | Fixed | 9.1.15-0ubuntu0.14.04 | UBUNTU-CVE-2015-0244 |
| Ubuntu 14.04 | postgresql-9.3 | Fixed | 9.3.6-0ubuntu0.14.04 | UBUNTU-CVE-2015-0244 |
| Red Hat Enterprise Linux 7 | postgresql | Fixed | 0:9.2.10-2.el7_1 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 7 | postgresql-contrib | Fixed | 0:9.2.10-2.ael7b_1 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 7 | postgresql-devel | Fixed | 0:9.2.10-2.el7_1 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 7 | postgresql-docs | Fixed | 0:9.2.10-2.el7_1 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 7 | postgresql-libs | Fixed | 0:9.2.10-2.ael7b_1 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 7 | postgresql-plperl | Fixed | 0:9.2.10-2.el7_1 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 7 | postgresql-plpython | Fixed | 0:9.2.10-2.el7_1 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 7 | postgresql-pltcl | Fixed | 0:9.2.10-2.el7_1 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 7 | postgresql-server | Fixed | 0:9.2.10-2.el7_1 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 7 | postgresql-test | Fixed | 0:9.2.10-2.el7_1 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 7 | postgresql-upgrade | Fixed | 0:9.2.10-2.el7_1 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 6 | postgresql | Fixed | 0:8.4.20-2.el6_6 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 6 | postgresql-contrib | Fixed | 0:8.4.20-2.el6_6 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 6 | postgresql-devel | Fixed | 0:8.4.20-2.el6_6 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 6 | postgresql-docs | Fixed | 0:8.4.20-2.el6_6 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 6 | postgresql-libs | Fixed | 0:8.4.20-2.el6_6 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 6 | postgresql-plperl | Fixed | 0:8.4.20-2.el6_6 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 6 | postgresql-plpython | Fixed | 0:8.4.20-2.el6_6 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 6 | postgresql-pltcl | Fixed | 0:8.4.20-2.el6_6 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 6 | postgresql-server | Fixed | 0:8.4.20-2.el6_6 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 6 | postgresql-test | Fixed | 0:8.4.20-2.el6_6 | RHSA-2015:0750 |
| Red Hat Enterprise Linux 5 | postgresql | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | postgresql84 | Will not fix Will not fix |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- PostgreSQL Global Development Group PostgreSQL: affected: before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, 9.4.x before 9.4.1
References
- http://www.postgresql.org/docs/9.4/static/release-9-4-1.html
- http://www.postgresql.org/docs/current/static/release-9-0-19.html
- http://www.postgresql.org/docs/current/static/release-9-1-15.html
- http://www.postgresql.org/docs/current/static/release-9-2-10.html
- http://www.postgresql.org/docs/current/static/release-9-3-6.html
- http://www.postgresql.org/about/news/1569/
- http://www.debian.org/security/2015/dsa-3155
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.