Input validation error in PostgreSQL - CVE-2013-1899

 

Input validation error in PostgreSQL - CVE-2013-1899

Published: April 4, 2013 / Updated: July 29, 2020


Vulnerability identifier: #VU32710
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-2013-1899
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows remote attackers to cause a denial of service (file corruption), and allows remote authenticated users to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can modify configuration settings and execute arbitrary code, via a connection request using a database name that begins with a "-" (hyphen).


Affected software

PostgreSQL
Amazon Linux AMI
Gentoo Linux
SUSE Linux
postgresql (Alpine package)

How to mitigate CVE-2013-1899

Update to version 9.2.4.

PostgreSQL - update to 9.2.4
postgresql (Alpine package) - update to 9.1.9-r0

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins