CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : 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."
Publish Date : 2010-02-02 Last Update Date : 2017-09-18
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.5
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Single system (The vulnerability requires an attacker to be logged into the system (such as at a command line or via a desktop session or web interface).)
Gained Access None
Vulnerability Type(s) Denial Of ServiceOverflow
CWE ID 189

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat moderate
5.2
AV:A/AC:L/Au:S/C:P/I:P/A:P 2010-01-27 2010-01-27
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @ cvedetails.com

- Related OVAL Definitions

Title Definition Id Class Family
DEPRECATED: ELSA-2010-0429 -- postgresql security update (moderate) oval:org.mitre.oval:def:27970 unix
DSA-2051 postgresql-8.3 -- several vulnerabilities oval:org.mitre.oval:def:11655 unix
DSA-2051-1 postgresql-8.3 -- several oval:org.mitre.oval:def:13636 unix
ELSA-2010:0429: postgresql security update (Moderate) oval:org.mitre.oval:def:22939 unix
RHSA-2010:0427: postgresql security update (Moderate) oval:com.redhat.rhsa:def:20100427 unix
RHSA-2010:0428: postgresql security update (Moderate) oval:com.redhat.rhsa:def:20100428 unix
RHSA-2010:0429: postgresql security update (Moderate) oval:org.mitre.oval:def:21774 unix
RHSA-2010:0429: postgresql security update (Moderate) oval:com.redhat.rhsa:def:20100429 unix
The bitsubstr function in backend/utils/adt/varbit.c in PostgreSQL 8.0.23, 8.1.11, and 8.3.8 allows remote authenticated... oval:org.mitre.oval:def:9720 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2010-0442

# Product Type Vendor Product Version Update Edition Language
1 Application Postgresql Postgresql 8.0.23 Version Details Vulnerabilities
2 Application Postgresql Postgresql 8.1.11 Version Details Vulnerabilities
3 Application Postgresql Postgresql 8.3.8 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Postgresql Postgresql 3

- References For CVE-2010-0442

https://exchange.xforce.ibmcloud.com/vulnerabilities/55902
XF postgresql-substring-bo(55902)
http://www.vupen.com/english/advisories/2010/1207
VUPEN ADV-2010-1207
http://www.vupen.com/english/advisories/2010/1221
VUPEN ADV-2010-1221
https://bugzilla.redhat.com/show_bug.cgi?id=559194 CONFIRM
https://bugzilla.redhat.com/show_bug.cgi?id=559259 CONFIRM
http://www.vupen.com/english/advisories/2010/1197
VUPEN ADV-2010-1197
http://www.securityfocus.com/bid/37973
BID 37973 PostgreSQL 'bitsubstr' Buffer Overflow Vulnerability Release Date:2010-07-20
http://www.vupen.com/english/advisories/2010/1022
VUPEN ADV-2010-1022
http://git.postgresql.org/gitweb?p=postgresql.git;a=commit;h=75dea10196c31d98d98c0bafeeb576ae99c09b12 CONFIRM
http://git.postgresql.org/gitweb?p=postgresql.git;a=commit;h=b15087cb39ca9e4bde3c8920fcee3741045d2b83 CONFIRM
http://www.redhat.com/support/errata/RHSA-2010-0429.html
REDHAT RHSA-2010:0429
http://www.mandriva.com/security/advisories?name=MDVSA-2010:103
MANDRIVA MDVSA-2010:103
http://www.redhat.com/support/errata/RHSA-2010-0427.html
REDHAT RHSA-2010:0427
http://www.redhat.com/support/errata/RHSA-2010-0428.html
REDHAT RHSA-2010:0428
http://www.openwall.com/lists/oss-security/2010/01/27/5
MLIST [oss-security] 20100127 Re: CVE id request: postgresql bitsubstr overflow
http://ubuntu.com/usn/usn-933-1
UBUNTU USN-933-1
http://www.debian.org/security/2010/dsa-2051
DEBIAN DSA-2051
http://intevydis.blogspot.com/2010/01/postgresql-8023-bitsubstr-overflow.html
http://securitytracker.com/id?1023510
SECTRACK 1023510
http://archives.postgresql.org/pgsql-hackers/2010-01/msg00634.php
MLIST [pgsql-hackers] 20100107 Re: Patch: Allow substring/replace() to get/set bit values
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567058
http://archives.postgresql.org/pgsql-committers/2010-01/msg00125.php
MLIST [pgsql-committers] 20100107 pgsql: Make bit/varbit substring() treat any negative length as meaning

- Metasploit Modules Related To CVE-2010-0442

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.