NetSight
medium6.5Public exploit code

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 (da…

Public exploit code

Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.

Impact

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."

Affected products

VendorProductAffected versions
PostgresqlPostgresql
from 7.4 before 7.4.28
from 8.0 before 8.0.24
from 8.1 before 8.1.20
from 8.2 before 8.2.16
from 8.3 before 8.3.10
from 8.4 before 8.4.3

Weakness classification

References