← All CVEs

CVE-2010-0442

medium · 6.5

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

6.5
CVSS
13.4%
EPSS (exploit prob.)
96th
EPSS percentile
2010-02-02
Published

AV:N/AC:L/Au:S/C:P/I:P/A:P

Weaknesses

CWE-189

Affected products

VendorProductAffected versions
postgresqlpostgresql>= 7.4, < 7.4.28
postgresqlpostgresql>= 8.0, < 8.0.24
postgresqlpostgresql>= 8.1, < 8.1.20
postgresqlpostgresql>= 8.2, < 8.2.16
postgresqlpostgresql>= 8.3, < 8.3.10
postgresqlpostgresql>= 8.4, < 8.4.3

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2010-0442