CVE-2013-1900: High severity PostgreSQL postgresql vulnerability
A security flaw was found in the way pgcrypto contrib module of PostgreSQL, an advanced Object-Relational database management system, performed (re)initialization of its internal random number generator [if the server was configured with ssl=on option, and incoming session did not actually use the SSL encryption, the OpenSSL random number generator was initialized only in the moment of the PostgreSQL server startup, and not in the moment of child process(es) fork]. As a result, certain pgcrypto module functions (those requiring random seed) would produce weaker results, possibly allowing attackers to conduct other attacks.
References: [1] http://www.postgresql.org/message-id/CACMqXCJRoyko5dCys5mzWF3WJtwv46fEYX39cusFAZDvocwg@mail.gmail.com
Other sources
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."
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/PostgreSQLto a version that resolves this vulnerability.Fixed in 8.4.17 - Upgrade
Upgrade
redhat/PostgreSQLto a version that resolves this vulnerability.Fixed in 9.0.13 - Upgrade
Upgrade
redhat/PostgreSQLto a version that resolves this vulnerability.Fixed in 9.1.9 - Upgrade
Upgrade
redhat/PostgreSQLto a version that resolves this vulnerability.Fixed in 9.2.4 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 9.2.4 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 9.1.9 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 9.0.13 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 8.4.17
Event History
Frequently Asked Questions
What is the severity of CVE-2013-1900?
CVE-2013-1900 has a medium severity level due to its potential impact on cryptographic functions.
How do I fix CVE-2013-1900?
To fix CVE-2013-1900, upgrade PostgreSQL to version 9.2.4, 9.1.9, 9.0.13, or 8.4.17 or later.
Who is affected by CVE-2013-1900?
CVE-2013-1900 affects PostgreSQL versions 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 that use OpenSSL.
What are the potential impacts of CVE-2013-1900?
The potential impacts of CVE-2013-1900 include insufficient randomness in cryptographic functions, which may compromise security.
Is there a workaround for CVE-2013-1900?
There are no known effective workarounds for CVE-2013-1900 other than upgrading to a patched version of PostgreSQL.