Vulnerability in PostgreSQL
CVE-2010-0442
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."
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.5 (Medium). Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.133, 96.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 11 other repositories (ARPSyndicate/cvemon, Dokukin1/Metasploitable, Furious992/HW13-01, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [pgsql-committers] 20100107 pgsql: Make bit/varbit substring() treat any negative length as meaning (Vendor Advisory, mailing-list)
- [pgsql-hackers] 20100107 Re: Patch: Allow substring/replace() to get/set bit values (Vendor Advisory, mailing-list)
- bugs.debian.org/cgi-bin/bugreport.cgi (Third Party Advisory)
- git.postgresql.org/gitweb (Vendor Advisory)
- git.postgresql.org/gitweb (Vendor Advisory)
- intevydis.blogspot.com/2010/01/postgresql-8023-bitsubstr-overflow.html (Third Party Advisory)
- secunia.com/advisories/39566 (Broken Link, third-party-advisory)
- secunia.com/advisories/39820 (Broken Link, third-party-advisory)
- secunia.com/advisories/39939 (Broken Link, third-party-advisory)
- securitytracker.com/id (VDB Entry, Third Party Advisory, vdb-entry)