ID CVE-2010-0442
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."
References
Vulnerable Configurations
  • cpe:2.3:a:postgresql:postgresql:8.0.23:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0.23:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.1.11:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.1.11:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.3.8:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.3.8:*:*:*:*:*:*:*
CVSS
Base: 6.5 (as of 19-09-2017 - 01:30)
Impact:
Exploitability:
CWE CWE-189
CAPEC
Access
VectorComplexityAuthentication
NETWORK LOW SINGLE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:S/C:P/I:P/A:P
oval via4
accepted 2013-04-29T04:21:35.507-04:00
class vulnerability
contributors
  • name Aharon Chernin
    organization SCAP.com, LLC
  • name Dragos Prisaca
    organization G2, Inc.
definition_extensions
  • comment The operating system installed on the system is Red Hat Enterprise Linux 3
    oval oval:org.mitre.oval:def:11782
  • comment CentOS Linux 3.x
    oval oval:org.mitre.oval:def:16651
  • comment The operating system installed on the system is Red Hat Enterprise Linux 4
    oval oval:org.mitre.oval:def:11831
  • comment CentOS Linux 4.x
    oval oval:org.mitre.oval:def:16636
  • comment Oracle Linux 4.x
    oval oval:org.mitre.oval:def:15990
  • comment The operating system installed on the system is Red Hat Enterprise Linux 5
    oval oval:org.mitre.oval:def:11414
  • comment The operating system installed on the system is CentOS Linux 5.x
    oval oval:org.mitre.oval:def:15802
  • comment Oracle Linux 5.x
    oval oval:org.mitre.oval:def:15459
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."
family unix
id oval:org.mitre.oval:def:9720
status accepted
submitted 2010-07-09T03:56:16-04:00
title 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."
version 30
redhat via4
advisories
  • rhsa
    id RHSA-2010:0427
  • rhsa
    id RHSA-2010:0428
  • rhsa
    id RHSA-2010:0429
rpms
  • rh-postgresql-0:7.3.21-3
  • rh-postgresql-contrib-0:7.3.21-3
  • rh-postgresql-debuginfo-0:7.3.21-3
  • rh-postgresql-devel-0:7.3.21-3
  • rh-postgresql-docs-0:7.3.21-3
  • rh-postgresql-jdbc-0:7.3.21-3
  • rh-postgresql-libs-0:7.3.21-3
  • rh-postgresql-pl-0:7.3.21-3
  • rh-postgresql-python-0:7.3.21-3
  • rh-postgresql-server-0:7.3.21-3
  • rh-postgresql-tcl-0:7.3.21-3
  • rh-postgresql-test-0:7.3.21-3
  • postgresql-0:7.4.29-1.el4_8.1
  • postgresql-contrib-0:7.4.29-1.el4_8.1
  • postgresql-debuginfo-0:7.4.29-1.el4_8.1
  • postgresql-devel-0:7.4.29-1.el4_8.1
  • postgresql-docs-0:7.4.29-1.el4_8.1
  • postgresql-jdbc-0:7.4.29-1.el4_8.1
  • postgresql-libs-0:7.4.29-1.el4_8.1
  • postgresql-pl-0:7.4.29-1.el4_8.1
  • postgresql-python-0:7.4.29-1.el4_8.1
  • postgresql-server-0:7.4.29-1.el4_8.1
  • postgresql-tcl-0:7.4.29-1.el4_8.1
  • postgresql-test-0:7.4.29-1.el4_8.1
  • postgresql-0:8.1.21-1.el5_5.1
  • postgresql-contrib-0:8.1.21-1.el5_5.1
  • postgresql-debuginfo-0:8.1.21-1.el5_5.1
  • postgresql-devel-0:8.1.21-1.el5_5.1
  • postgresql-docs-0:8.1.21-1.el5_5.1
  • postgresql-libs-0:8.1.21-1.el5_5.1
  • postgresql-pl-0:8.1.21-1.el5_5.1
  • postgresql-python-0:8.1.21-1.el5_5.1
  • postgresql-server-0:8.1.21-1.el5_5.1
  • postgresql-tcl-0:8.1.21-1.el5_5.1
  • postgresql-test-0:8.1.21-1.el5_5.1
refmap via4
bid 37973
confirm
debian DSA-2051
mandriva MDVSA-2010:103
misc
mlist
  • [oss-security] 20100127 Re: CVE id request: postgresql bitsubstr overflow
  • [pgsql-committers] 20100107 pgsql: Make bit/varbit substring() treat any negative length as meaning
  • [pgsql-hackers] 20100107 Re: Patch: Allow substring/replace() to get/set bit values
sectrack 1023510
secunia
  • 39566
  • 39820
  • 39939
ubuntu USN-933-1
vupen
  • ADV-2010-1022
  • ADV-2010-1197
  • ADV-2010-1207
  • ADV-2010-1221
xf postgresql-substring-bo(55902)
Last major update 19-09-2017 - 01:30
Published 02-02-2010 - 18:30
Last modified 19-09-2017 - 01:30
Back to Top