CVE-2013-0255
PostgreSQL 9.2.x before 9.2.3, 9.1.x before 9.1.8, 9.0.x before 9.0.12, 8.4.x before 8.4.16, and 8.3.x before 8.3.23 does not properly declare the enum_recv function in backend/utils/adt/enum.c, which causes it to be invoked with incorrect arguments and allows remote authenticated users to cause a denial of service (server crash) or read sensitive process memory via a crafted SQL command, which triggers an array index error and an out-of-bounds read.
What to do
Fixed builds are available from Red Hat: 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 |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | postgresql | Fixed | 0:8.4.18-1.el6_4 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 6 | postgresql-contrib | Fixed | 0:8.4.18-1.el6_4 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 6 | postgresql-devel | Fixed | 0:8.4.18-1.el6_4 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 6 | postgresql-docs | Fixed | 0:8.4.18-1.el6_4 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 6 | postgresql-libs | Fixed | 0:8.4.18-1.el6_4 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 6 | postgresql-plperl | Fixed | 0:8.4.18-1.el6_4 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 6 | postgresql-plpython | Fixed | 0:8.4.18-1.el6_4 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 6 | postgresql-pltcl | Fixed | 0:8.4.18-1.el6_4 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 6 | postgresql-server | Fixed | 0:8.4.18-1.el6_4 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 6 | postgresql-test | Fixed | 0:8.4.18-1.el6_4 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 5 | postgresql | Not affected | ||
| Red Hat Enterprise Linux 5 | postgresql84 | Fixed | 0:8.4.18-1.el5_10 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 5 | postgresql84-contrib | Fixed | 0:8.4.18-1.el5_10 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 5 | postgresql84-devel | Fixed | 0:8.4.18-1.el5_10 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 5 | postgresql84-docs | Fixed | 0:8.4.18-1.el5_10 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 5 | postgresql84-libs | Fixed | 0:8.4.18-1.el5_10 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 5 | postgresql84-plperl | Fixed | 0:8.4.18-1.el5_10 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 5 | postgresql84-plpython | Fixed | 0:8.4.18-1.el5_10 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 5 | postgresql84-pltcl | Fixed | 0:8.4.18-1.el5_10 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 5 | postgresql84-python | Fixed | 0:8.4.18-1.el5_10 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 5 | postgresql84-server | Fixed | 0:8.4.18-1.el5_10 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 5 | postgresql84-tcl | Fixed | 0:8.4.18-1.el5_10 | RHSA-2013:1475 |
| Red Hat Enterprise Linux 5 | postgresql84-test | Fixed | 0:8.4.18-1.el5_10 | RHSA-2013:1475 |
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.
Vendor advisories:
- http://lists.fedoraproject.org/pipermail/package-announce/2013-February/098586.html (vendor-advisory)
- http://www.debian.org/security/2013/dsa-2630 (vendor-advisory)
- http://lists.opensuse.org/opensuse-updates/2013-02/msg00060.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-updates/2013-02/msg00059.html (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:142 (vendor-advisory)
- http://www.ubuntu.com/usn/USN-1717-1 (vendor-advisory)
References
- http://lists.fedoraproject.org/pipermail/package-announce/2013-February/098586.html
- http://www.debian.org/security/2013/dsa-2630
- http://lists.opensuse.org/opensuse-updates/2013-02/msg00060.html
- http://lists.opensuse.org/opensuse-updates/2013-02/msg00059.html
- http://www.postgresql.org/docs/8.4/static/release-8-4-16.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:142
- https://exchange.xforce.ibmcloud.com/vulnerabilities/81917
- https://bugzilla.redhat.com/show_bug.cgi?id=907892
- http://secunia.com/advisories/51923
- http://www.postgresql.org/docs/9.1/static/release-9-1-8.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- http://www.securityfocus.com/bid/57844
- https://blogs.oracle.com/sunsecurity/entry/cve_2013_0255_array_index
- http://www.ubuntu.com/usn/USN-1717-1
- http://securitytracker.com/id?1028092
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.