CVE-2014-0062: Race Condition
A race condition when using CREATE INDEX could cause lookups to find table names (of the same name) in the wrong schema, allowing indexes to be created on tables the caller does not own. An authenticated database user could possibly leverage this flaw to escalate their privileges.
Acknowledgements:
Red Hat would like to thank the PostgreSQL project for reporting this issue. Upstream acknowledges Robert Haas and Andres Freund as the original reporters.
Other sources
Race condition in the (1) CREATE INDEX and (2) unspecified ALTER TABLE commands in PostgreSQL before 8.4.20, 9.0.x before 9.0.16, 9.1.x before 9.1.12, 9.2.x before 9.2.7, and 9.3.x before 9.3.3 allows remote authenticated users to create an unauthorized index or read portions of unauthorized tables by creating or deleting a table with the same name during the timing window.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2014-0062?
The severity of CVE-2014-0062 is classified as high due to the potential for unauthorized access and manipulation of database indices.
How do I fix CVE-2014-0062?
To fix CVE-2014-0062, upgrade your PostgreSQL installation to version 8.4.20, 9.0.16, 9.1.12, 9.2.7, or 9.3.3 or later.
What types of PostgreSQL commands are affected by CVE-2014-0062?
CVE-2014-0062 affects the CREATE INDEX and certain ALTER TABLE commands.
Who is impacted by CVE-2014-0062?
Remote authenticated users with access to the affected PostgreSQL versions are impacted by CVE-2014-0062.
What are the best practices to mitigate risks associated with CVE-2014-0062?
Best practices include ensuring that your PostgreSQL databases are regularly updated and implementing access controls to limit user permissions.