# CVE-2023-2455

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-06-09 · Modified: 2025-01-06
- Aliases: ALPINE-CVE-2023-2455, UBUNTU-CVE-2023-2455, DEBIAN-CVE-2023-2455
- Record: https://cvemate.com/vulnerability/CVE-2023-2455 · JSON: https://cvemate.com/vulnerability/CVE-2023-2455/json

## Description

```text
Row security policies disregard user ID changes after inlining; PostgreSQL could permit incorrect policies to be applied in certain cases where role-specific policies are used and a given query is planned under one role and then executed under other roles. This scenario can happen under security definer functions or when a common user and query is planned initially and then re-used across multiple SET ROLEs. Applying an incorrect policy may permit a user to complete otherwise-forbidden reads and modifications. This affects only databases that have used CREATE POLICY to define a row security policy.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.7%, percentile 54.55%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine postgresql (Alpine Linux): ≥ 11.0, \< 13.11-r0 \| ≥ 13.0, \< 13.11-r0
- alpine postgresql12 (Alpine Linux): \< 12.15-r0
- alpine postgresql13 (Alpine Linux): \< 13.11-r0
- alpine postgresql14 (Alpine Linux): \< 14.8-r0
- alpine postgresql15 (Alpine Linux): \< 15.3-r0
- debian postgresql-15 (Debian): \< 15.3-0+deb12u1
- ubuntu postgresql-10 (Ubuntu): \< 10.23-0ubuntu0.18.04.2
- ubuntu postgresql-12 (Ubuntu): \< 12.15-0ubuntu0.20.04.1
- ubuntu postgresql-14 (Ubuntu): \< 14.8-0ubuntu0.22.04.1
- ubuntu postgresql-9.3 (Ubuntu): All versions (No fix recorded)
- ubuntu postgresql-9.5 (Ubuntu): All versions (No fix recorded)
- fedoraproject fedora: 38
- postgresql postgresql: ≥ 11.0, \< 11.20 \| ≥ 12.0, \< 12.15 \| ≥ 13.0, \< 13.11 \| ≥ 14.0, \< 14.8 \| ≥ 15.0, \< 15.3
- redhat enterprise\_linux: 8.0 \| 9.0
- redhat software\_collections: na

## References

- <https://access.redhat.com/security/cve/CVE-2023-2455>
- <https://www.postgresql.org/support/security/CVE-2023-2455/>
- <https://security.netapp.com/advisory/ntap-20230706-0006/>
- <https://security.alpinelinux.org/vuln/CVE-2023-2455>
- <https://ubuntu.com/security/CVE-2023-2455>
- <https://www.postgresql.org/about/news/postgresql-153-148-1311-1215-and-1120-released-2637/>
- <https://ubuntu.com/security/notices/USN-6104-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-2455>
- <https://security-tracker.debian.org/tracker/CVE-2023-2455>

---

Data as of 2026-12-05T03:00:56.653Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
