CVE-2010-0442 json
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 d…
published 16y ago modified 4mo ago also EUVD-2010-0473
- cvss
- 6.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 13.3%
- EPSS 13.3% chance of exploitation in 30 days, percentile 96%
- public exploits
- 1
- Exploit-DB
Summary
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."
Patch / fix
- postgresql postgresql 7.4.28, 8.0.24, 8.1.20, 8.2.16, 8.3.10, 8.4.3
- postgresql RHEL 5 8.1.21-1.el5_5.1
- postgresql-pl RHEL 5 8.1.21-1.el5_5.1
- postgresql-tcl RHEL 5 8.1.21-1.el5_5.1
- postgresql-libs RHEL 5 8.1.21-1.el5_5.1
- postgresql-test RHEL 5 8.1.21-1.el5_5.1
- postgresql-python RHEL 5 8.1.21-1.el5_5.1
- postgresql-server RHEL 5 8.1.21-1.el5_5.1
- postgresql-contrib RHEL 5 8.1.21-1.el5_5.1
red hat advisories RHSA-2010:0429RHSA-2010:0428RHSA-2010:0427
Is CVE-2010-0442 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2010-0442 updated cvss 5.2
postgresql: substring() negative length argument buffer overflow
-
Red Hat Desktop version 3 rh-postgresql 7.3.21-3, rh-postgresql-pl 7.3.21-3, rh-postgresql-tcl 7.3.21-3, rh-postgresql-jdbc 7.3.21-3, rh-postgresql-libs 7.3.21-3, rh-postgresql-test 7.3.21-3, +3 morefixed: vendor fix RHSA-2010:0427
-
Red Hat Enterprise Linux (v. 5 server) postgresql 8.1.21-1.el5_5.1, postgresql-pl 8.1.21-1.el5_5.1, postgresql-tcl 8.1.21-1.el5_5.1, postgresql-libs 8.1.21-1.el5_5.1, postgresql-test 8.1.21-1.el5_5.1, postgresql-python 8.1.21-1.el5_5.1, +2 morefixed: vendor fix RHSA-2010:0429
-
Red Hat Enterprise Linux AS version 3 rh-postgresql 7.3.21-3, rh-postgresql-pl 7.3.21-3, rh-postgresql-tcl 7.3.21-3, rh-postgresql-jdbc 7.3.21-3, rh-postgresql-libs 7.3.21-3, rh-postgresql-test 7.3.21-3, +3 morefixed: vendor fix RHSA-2010:0427
-
Red Hat Enterprise Linux AS version 4 postgresql 7.4.29-1.el4_8.1, postgresql-pl 7.4.29-1.el4_8.1, postgresql-tcl 7.4.29-1.el4_8.1, postgresql-jdbc 7.4.29-1.el4_8.1, postgresql-libs 7.4.29-1.el4_8.1, postgresql-test 7.4.29-1.el4_8.1, +3 morefixed: vendor fix RHSA-2010:0428
-
Red Hat Enterprise Linux Desktop (v. 5 client) postgresql 8.1.21-1.el5_5.1, postgresql-pl 8.1.21-1.el5_5.1, postgresql-tcl 8.1.21-1.el5_5.1, postgresql-libs 8.1.21-1.el5_5.1, postgresql-test 8.1.21-1.el5_5.1, postgresql-python 8.1.21-1.el5_5.1, +2 morefixed: vendor fix RHSA-2010:0429
-
Red Hat Enterprise Linux Desktop version 4 postgresql 7.4.29-1.el4_8.1, postgresql-pl 7.4.29-1.el4_8.1, postgresql-tcl 7.4.29-1.el4_8.1, postgresql-jdbc 7.4.29-1.el4_8.1, postgresql-libs 7.4.29-1.el4_8.1, postgresql-test 7.4.29-1.el4_8.1, +3 morefixed: vendor fix RHSA-2010:0428
-
Red Hat Enterprise Linux Desktop Workstation (v. 5 client) postgresql 8.1.21-1.el5_5.1, postgresql-pl 8.1.21-1.el5_5.1, postgresql-tcl 8.1.21-1.el5_5.1, postgresql-libs 8.1.21-1.el5_5.1, postgresql-test 8.1.21-1.el5_5.1, postgresql-python 8.1.21-1.el5_5.1, +2 morefixed: vendor fix RHSA-2010:0429
-
Red Hat Enterprise Linux ES version 3 rh-postgresql 7.3.21-3, rh-postgresql-pl 7.3.21-3, rh-postgresql-tcl 7.3.21-3, rh-postgresql-jdbc 7.3.21-3, rh-postgresql-libs 7.3.21-3, rh-postgresql-test 7.3.21-3, +3 morefixed: vendor fix RHSA-2010:0427
show 3 moreshow fewer
-
Red Hat Enterprise Linux ES version 4 postgresql 7.4.29-1.el4_8.1, postgresql-pl 7.4.29-1.el4_8.1, postgresql-tcl 7.4.29-1.el4_8.1, postgresql-jdbc 7.4.29-1.el4_8.1, postgresql-libs 7.4.29-1.el4_8.1, postgresql-test 7.4.29-1.el4_8.1, +3 morefixed: vendor fix RHSA-2010:0428
-
Red Hat Enterprise Linux WS version 3 rh-postgresql 7.3.21-3, rh-postgresql-pl 7.3.21-3, rh-postgresql-tcl 7.3.21-3, rh-postgresql-jdbc 7.3.21-3, rh-postgresql-libs 7.3.21-3, rh-postgresql-test 7.3.21-3, +3 morefixed: vendor fix RHSA-2010:0427
-
Red Hat Enterprise Linux WS version 4 postgresql 7.4.29-1.el4_8.1, postgresql-pl 7.4.29-1.el4_8.1, postgresql-tcl 7.4.29-1.el4_8.1, postgresql-jdbc 7.4.29-1.el4_8.1, postgresql-libs 7.4.29-1.el4_8.1, postgresql-test 7.4.29-1.el4_8.1, +3 morefixed: vendor fix RHSA-2010:0428
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-33571)
- Published
Exploit prediction
13.26% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-33571 PostgreSQL - 'bitsubstr' Buffer Overflow dos, 2010-01-27
- securityfocus.com http://www.securityfocus.com/bid/37973 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-189 Numeric Errors
- Technology feeds
References
-
securityfocus.com
/bid/37973
vdb-entry, exploit, third-party-advisory
-
redhat.com
/support/errata/RHSA-2010-0427.html
vendor-advisory, third-party-advisory
-
redhat.com
/support/errata/RHSA-2010-0428.html
vendor-advisory, third-party-advisory
-
debian.org
/security/2010/dsa-2051
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/usn-933-1
vendor-advisory, third-party-advisory
-
redhat.com
/support/errata/RHSA-2010-0429.html
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2010:103
vendor-advisory, broken-link
-
git.postgresql.org
/gitweb?p=postgresql.git%3Ba=commit%3Bh=75dea10196c31d98d98c0bafeeb576ae99c09b12
vendor-advisory
-
git.postgresql.org
/gitweb?p=postgresql.git%3Ba=commit%3Bh=b15087cb39ca9e4bde3c8920fcee3741045d2b83
vendor-advisory
-
archives.postgresql.org
/pgsql-hackers/2010-01/msg00634.php
mailing-list, vendor-advisory
-
archives.postgresql.org
/pgsql-committers/2010-01/msg00125.php
mailing-list, vendor-advisory
-
securitytracker.com
/id?1023510
vdb-entry, third-party-advisory
-
secunia.com
/advisories/39820
third-party-advisory, broken-link
-
openwall.com
/lists/oss-security/2010/01/27/5
mailing-list, third-party-advisory
-
vupen.com
/english/advisories/2010/1221
vdb-entry, permissions-required
-
intevydis.blogspot.com
/2010/01/postgresql-8023-bitsubstr-overflow.html
third-party-advisory
-
vupen.com
/english/advisories/2010/1207
vdb-entry, permissions-required
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=567058
third-party-advisory
-
vupen.com
/english/advisories/2010/1022
vdb-entry, permissions-required
-
secunia.com
/advisories/39566
third-party-advisory, broken-link
-
bugzilla.redhat.com
/show_bug.cgi?id=559259
issue-tracking, third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/55902
vdb-entry, third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9720
vdb-entry, signature, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=559194
issue-tracking, third-party-advisory
-
secunia.com
/advisories/39939
third-party-advisory, broken-link
-
vupen.com
/english/advisories/2010/1197
vdb-entry, permissions-required
Sources
- CVE List CVE-2010-0442
- NVD CVE-2010-0442
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.