Input validation error in PostgreSQL - CVE-2010-4015

 

Input validation error in PostgreSQL - CVE-2010-4015

Published: February 2, 2011 / Updated: August 11, 2020


Vulnerability identifier: #VU45396
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2010-4015
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote #AU# to read and manipulate data.

Buffer overflow in the gettoken function in contrib/intarray/_int_bool.c in the intarray array module in PostgreSQL 9.0.x before 9.0.3, 8.4.x before 8.4.7, 8.3.x before 8.3.14, and 8.2.x before 8.2.20 allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via integers with a large number of digits to unspecified functions.


Affected software

PostgreSQL
Gentoo Linux
Ubuntu
postgresql-contrib-8.1 (Ubuntu package)
postgresql-contrib-8.3 (Ubuntu package)
postgresql-contrib-8.4 (Ubuntu package)
dev-db/postgresql
dev-db/postgresql-server

How to mitigate CVE-2010-4015

Install update from vendor's website.

postgresql-contrib-8.1 (Ubuntu package) - update to 8.1.23-0ubuntu0.6.06.1
postgresql-contrib-8.3 (Ubuntu package) - update to 8.3.14-0ubuntu8.04
postgresql-contrib-8.4 (Ubuntu package) - addressed in versions 8.4.7-0ubuntu0.9.10, 8.4.7-0ubuntu0.10.04, 8.4.7-0ubuntu0.10.10
dev-db/postgresql - update to 9.0.5
dev-db/postgresql-server - update to 9.0.5

External References

Related Security Bulletins