Input validation error in PostgreSQL - CVE-2013-1900

 

Input validation error in PostgreSQL - CVE-2013-1900

Published: April 4, 2013 / Updated: August 4, 2020


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

Vulnerability details

The vulnerability allows a remote #AU# to execute arbitrary code.

PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, 9.0.x before 9.0.13, and 8.4.x before 8.4.17, when using OpenSSL, generates insufficiently random numbers, which might allow remote authenticated users to have an unspecified impact via vectors related to the "contrib/pgcrypto functions." Per http://www.ubuntu.com/usn/USN-1789-1/ "A security issue affects these releases of Ubuntu and its derivatives: Ubuntu 12.10 Ubuntu 12.04 LTS Ubuntu 11.10 Ubuntu 10.04 LTS Ubuntu 8.04 LTS"


Affected software

PostgreSQL
Gentoo Linux
Amazon Linux AMI
Debian Linux
Ubuntu
SUSE Linux
postgresql (Alpine package)
postgresql-8.3 (Ubuntu package)
postgresql-8.4 (Ubuntu package)
postgresql-8.4 (Debian package)
postgresql-9.1 (Ubuntu package)
postgresql-9.1 (Debian package)

How to mitigate CVE-2013-1900

Install update from vendor's website.

PostgreSQL - update to 9.2.4
postgresql (Alpine package) - update to 9.1.9-r0
postgresql-8.3 (Ubuntu package) - update to 8.3.23-0ubuntu8.04.1
postgresql-8.4 (Ubuntu package) - update to 8.4.17-0ubuntu10.04
postgresql-8.4 (Debian package) - update to 8.4.17-0squeeze1
postgresql-9.1 (Ubuntu package) - addressed in versions 9.1.9-0ubuntu11.10, 9.1.9-0ubuntu12.04, 9.1.9-0ubuntu12.10
postgresql-9.1 (Debian package) - update to 9.1.9-0wheezy1

External References

Related Security Bulletins