It was found that some selectivity estimation functions in PostgreSQL before 9.2.21, 9.3.x before 9.3.17, 9.4.x before 9.4.12, 9.5.x before 9.5.7, and 9.6.x before 9.6.3 did not check user privileges before providing information from pg_statistic, possibly leaking information. An unprivileged attacker could use this flaw to steal some information from tables they are otherwise not allowed to access.
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Postgresql | Postgresql | * | 9.2.20 (including) |
Postgresql | Postgresql | 9.3 (including) | 9.3 (including) |
Postgresql | Postgresql | 9.3.1 (including) | 9.3.1 (including) |
Postgresql | Postgresql | 9.3.2 (including) | 9.3.2 (including) |
Postgresql | Postgresql | 9.3.3 (including) | 9.3.3 (including) |
Postgresql | Postgresql | 9.3.4 (including) | 9.3.4 (including) |
Postgresql | Postgresql | 9.3.5 (including) | 9.3.5 (including) |
Postgresql | Postgresql | 9.3.6 (including) | 9.3.6 (including) |
Postgresql | Postgresql | 9.3.7 (including) | 9.3.7 (including) |
Postgresql | Postgresql | 9.3.8 (including) | 9.3.8 (including) |
Postgresql | Postgresql | 9.3.9 (including) | 9.3.9 (including) |
Postgresql | Postgresql | 9.3.10 (including) | 9.3.10 (including) |
Postgresql | Postgresql | 9.3.11 (including) | 9.3.11 (including) |
Postgresql | Postgresql | 9.3.12 (including) | 9.3.12 (including) |
Postgresql | Postgresql | 9.3.13 (including) | 9.3.13 (including) |
Postgresql | Postgresql | 9.3.14 (including) | 9.3.14 (including) |
Postgresql | Postgresql | 9.3.15 (including) | 9.3.15 (including) |
Postgresql | Postgresql | 9.3.16 (including) | 9.3.16 (including) |
Postgresql | Postgresql | 9.4 (including) | 9.4 (including) |
Postgresql | Postgresql | 9.4.1 (including) | 9.4.1 (including) |
Postgresql | Postgresql | 9.4.2 (including) | 9.4.2 (including) |
Postgresql | Postgresql | 9.4.3 (including) | 9.4.3 (including) |
Postgresql | Postgresql | 9.4.4 (including) | 9.4.4 (including) |
Postgresql | Postgresql | 9.4.5 (including) | 9.4.5 (including) |
Postgresql | Postgresql | 9.4.6 (including) | 9.4.6 (including) |
Postgresql | Postgresql | 9.4.7 (including) | 9.4.7 (including) |
Postgresql | Postgresql | 9.4.8 (including) | 9.4.8 (including) |
Postgresql | Postgresql | 9.4.9 (including) | 9.4.9 (including) |
Postgresql | Postgresql | 9.4.10 (including) | 9.4.10 (including) |
Postgresql | Postgresql | 9.4.11 (including) | 9.4.11 (including) |
Postgresql | Postgresql | 9.5 (including) | 9.5 (including) |
Postgresql | Postgresql | 9.5.1 (including) | 9.5.1 (including) |
Postgresql | Postgresql | 9.5.2 (including) | 9.5.2 (including) |
Postgresql | Postgresql | 9.5.3 (including) | 9.5.3 (including) |
Postgresql | Postgresql | 9.5.4 (including) | 9.5.4 (including) |
Postgresql | Postgresql | 9.5.5 (including) | 9.5.5 (including) |
Postgresql | Postgresql | 9.5.6 (including) | 9.5.6 (including) |
Postgresql | Postgresql | 9.6 (including) | 9.6 (including) |
Postgresql | Postgresql | 9.6.1 (including) | 9.6.1 (including) |
Postgresql | Postgresql | 9.6.2 (including) | 9.6.2 (including) |
There are many different kinds of mistakes that introduce information exposures. The severity of the error can range widely, depending on the context in which the product operates, the type of sensitive information that is revealed, and the benefits it may provide to an attacker. Some kinds of sensitive information include:
Information might be sensitive to different parties, each of which may have their own expectations for whether the information should be protected. These parties include:
Information exposures can occur in different ways:
It is common practice to describe any loss of confidentiality as an “information exposure,” but this can lead to overuse of CWE-200 in CWE mapping. From the CWE perspective, loss of confidentiality is a technical impact that can arise from dozens of different weaknesses, such as insecure file permissions or out-of-bounds read. CWE-200 and its lower-level descendants are intended to cover the mistakes that occur in behaviors that explicitly manage, store, transfer, or cleanse sensitive information.