CVE-2018-10915
Description
A vulnerability was found in libpq, the default PostgreSQL client library where libpq failed to properly reset its internal state between connections. If an affected version of libpq was used with "host" or "hostaddr" connection parameters from untrusted input, attackers could bypass client-side connection security features, obtain access to higher privileged connections or potentially cause other impact through SQL injection, by causing the PQescape() functions to malfunction. Postgresql versions before 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24 are affected.
How to fix
- postgresql postgresql9.3.24, 9.4.19, 9.5.14, 9.6.10, 10.5 or later
- security.gentoo.org/glsa/201810-08
- access.redhat.com/errata/RHSA-2018:2729
- debian.org/security/2018/dsa-4269
- access.redhat.com/errata/RHSA-2018:2643
- access.redhat.com/errata/RHSA-2018:2721
- access.redhat.com/errata/RHSA-2018:2511
- usn.ubuntu.com/3744-1/
- access.redhat.com/errata/RHSA-2018:2566
- access.redhat.com/errata/RHSA-2018:2565
- access.redhat.com/errata/RHSA-2018:3816
- access.redhat.com/errata/RHSA-2018:2557
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| postgresql postgresql | 9.3.0 ≤ v < 9.3.24, 9.4.0 ≤ v < 9.4.19, 9.5.0 ≤ v < 9.5.14, 9.6.0 ≤ v < 9.6.10, 10.0 ≤ v < 10.5 | 9.3.24, 9.4.19, 9.5.14, 9.6.10, 10.5 |
| redhat openstack | 12, 13 | — |
| redhat virtualization | 4.0 | — |
| redhat enterprise_linux_desktop | 7.0 | — |
| redhat enterprise_linux_server | 7.0 | — |
| redhat enterprise_linux_server_eus | 7.5 | — |
| redhat enterprise_linux_workstation | 7.0 | — |
| canonical ubuntu_linux | 14.04, 16.04, 18.04 | — |
| debian debian_linux | 8.0, 9.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.