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.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Postgresql | Postgresql | 7.4 (including) | 7.4.28 (excluding) |
Postgresql | Postgresql | 8.0 (including) | 8.0.24 (excluding) |
Postgresql | Postgresql | 8.1 (including) | 8.1.20 (excluding) |
Postgresql | Postgresql | 8.2 (including) | 8.2.16 (excluding) |
Postgresql | Postgresql | 8.3 (including) | 8.3.10 (excluding) |
Postgresql | Postgresql | 8.4 (including) | 8.4.3 (excluding) |
Red Hat Enterprise Linux 3 | RedHat | rh-postgresql-0:7.3.21-3 | * |
Red Hat Enterprise Linux 4 | RedHat | postgresql-0:7.4.29-1.el4_8.1 | * |
Red Hat Enterprise Linux 5 | RedHat | postgresql-0:8.1.21-1.el5_5.1 | * |
Postgresql-7.4 | Ubuntu | dapper | * |
Postgresql-8.0 | Ubuntu | dapper | * |
Postgresql-8.1 | Ubuntu | dapper | * |
Postgresql-8.1 | Ubuntu | upstream | * |
Postgresql-8.2 | Ubuntu | hardy | * |
Postgresql-8.2 | Ubuntu | upstream | * |
Postgresql-8.3 | Ubuntu | hardy | * |
Postgresql-8.3 | Ubuntu | intrepid | * |
Postgresql-8.3 | Ubuntu | jaunty | * |
Postgresql-8.3 | Ubuntu | karmic | * |
Postgresql-8.3 | Ubuntu | upstream | * |
Postgresql-8.4 | Ubuntu | devel | * |
Postgresql-8.4 | Ubuntu | karmic | * |
Postgresql-8.4 | Ubuntu | lucid | * |
Postgresql-8.4 | Ubuntu | maverick | * |
Postgresql-8.4 | Ubuntu | natty | * |
Postgresql-8.4 | Ubuntu | oneiric | * |
Postgresql-8.4 | Ubuntu | upstream | * |