CVE Vulnerabilities

CVE-2017-15098

Exposure of Sensitive Information to an Unauthorized Actor

Published: Nov 22, 2017 | Modified: Aug 28, 2018
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS 2.x
5.5 MEDIUM
AV:N/AC:L/Au:S/C:P/I:N/A:P
RedHat/V2
RedHat/V3
7.1 MODERATE
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
Ubuntu
MEDIUM

Invalid json_populate_recordset or jsonb_populate_recordset function calls in PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, and 9.3.x before 9.3.20 can crash the server or disclose a few bytes of server memory.

Weakness

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Affected Software

Name Vendor Start Version End Version
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.3.17 (including) 9.3.17 (including)
Postgresql Postgresql 9.3.18 (including) 9.3.18 (including)
Postgresql Postgresql 9.3.19 (including) 9.3.19 (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.4.12 (including) 9.4.12 (including)
Postgresql Postgresql 9.4.13 (including) 9.4.13 (including)
Postgresql Postgresql 9.4.14 (including) 9.4.14 (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.5.7 (including) 9.5.7 (including)
Postgresql Postgresql 9.5.8 (including) 9.5.8 (including)
Postgresql Postgresql 9.5.9 (including) 9.5.9 (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)
Postgresql Postgresql 9.6.3 (including) 9.6.3 (including)
Postgresql Postgresql 9.6.4 (including) 9.6.4 (including)
Postgresql Postgresql 9.6.5 (including) 9.6.5 (including)
Postgresql Postgresql 10 (including) 10 (including)
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat rh-postgresql95-postgresql-0:9.5.14-1.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat rh-postgresql96-postgresql-0:9.6.10-1.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat rh-postgresql95-postgresql-0:9.5.14-1.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat rh-postgresql96-postgresql-0:9.6.10-1.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-postgresql95-postgresql-0:9.5.14-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-postgresql96-postgresql-0:9.6.10-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS RedHat rh-postgresql95-postgresql-0:9.5.14-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS RedHat rh-postgresql96-postgresql-0:9.6.10-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS RedHat rh-postgresql95-postgresql-0:9.5.14-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS RedHat rh-postgresql96-postgresql-0:9.6.10-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS RedHat rh-postgresql95-postgresql-0:9.5.14-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS RedHat rh-postgresql96-postgresql-0:9.6.10-1.el7 *
Postgresql-10 Ubuntu upstream *
Postgresql-9.1 Ubuntu trusty *
Postgresql-9.3 Ubuntu trusty *
Postgresql-9.5 Ubuntu xenial *
Postgresql-9.6 Ubuntu artful *
Postgresql-9.6 Ubuntu zesty *

Extended Description

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.

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References