Description
The bitsubstr function in backend/utils/adt/varbit.c in PostgreSQL 8.0.23, 8.1.11, and 8.3.8 allows remote authenticated users to cause a denial of service (daemon crash) or have unspecified other impact via vectors involving a negative integer in the third argument, as demonstrated by a SELECT statement that contains a call to the substring function for a bit string, related to an "overflow."
Exploits (1)
exploitdb
WORKING POC
VERIFIED
by Intevydis · textdoslinux
https://www.exploit-db.com/exploits/33571
References (26)
Core 26
Core References
Third Party Advisory vendor-advisory
x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2010-0427.html
Third Party Advisory, VDB Entry vdb-entry
x_refsource_sectrack
http://securitytracker.com/id?1023510
Third Party Advisory vendor-advisory
x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2010-0428.html
Third Party Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2010/dsa-2051
Third Party Advisory vendor-advisory
x_refsource_ubuntu
http://ubuntu.com/usn/usn-933-1
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/39820
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2010/01/27/5
Permissions Required vdb-entry
x_refsource_vupen
http://www.vupen.com/english/advisories/2010/1221
Exploit, Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/37973
Vendor Advisory x_refsource_confirm
http://git.postgresql.org/gitweb?p=postgresql.git%3Ba=commit%3Bh=75dea10196c31d98d98c0bafeeb576ae99c09b12
Third Party Advisory x_refsource_misc
http://intevydis.blogspot.com/2010/01/postgresql-8023-bitsubstr-overflow.html
Vendor Advisory x_refsource_confirm
http://git.postgresql.org/gitweb?p=postgresql.git%3Ba=commit%3Bh=b15087cb39ca9e4bde3c8920fcee3741045d2b83
Permissions Required vdb-entry
x_refsource_vupen
http://www.vupen.com/english/advisories/2010/1207
Third Party Advisory x_refsource_misc
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567058
Permissions Required vdb-entry
x_refsource_vupen
http://www.vupen.com/english/advisories/2010/1022
Vendor Advisory mailing-list
x_refsource_mlist
http://archives.postgresql.org/pgsql-hackers/2010-01/msg00634.php
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/39566
Issue Tracking, Third Party Advisory x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=559259
Third Party Advisory, VDB Entry vdb-entry
x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/55902
Vendor Advisory mailing-list
x_refsource_mlist
http://archives.postgresql.org/pgsql-committers/2010-01/msg00125.php
Third Party Advisory vendor-advisory
x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2010-0429.html
Third Party Advisory vdb-entry
signature
x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9720
Issue Tracking, Third Party Advisory x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=559194
Broken Link vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2010:103
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/39939
Permissions Required vdb-entry
x_refsource_vupen
http://www.vupen.com/english/advisories/2010/1197
Scores
EPSS
0.0997
EPSS Percentile
93.1%
Details
CWE
CWE-189
Status
published
Products (1)
postgresql/postgresql
7.4 - 7.4.28
Published
Feb 02, 2010
Tracked Since
Feb 18, 2026