Skip to content

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

MediumCVSS 6.5 EPSS 13.3% PoC
Published
Updated
Exploit status
Proof-of-concept only

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

Affected products

ProductAffected versionsFixed in
postgresql >= 7.4, < 7.4.28 7.4.28
postgresql >= 8.0, < 8.0.24 8.0.24
postgresql >= 8.1, < 8.1.20 8.1.20
postgresql >= 8.2, < 8.2.16 8.2.16
postgresql >= 8.3, < 8.3.10 8.3.10
postgresql >= 8.4, < 8.4.3 8.4.3

References