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
Amazon Linux AMI
Gentoo Linux
SUSE Linux
postgresql (Alpine 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

External References

Related Security Bulletins