CVE-2023-5868
MEDIUM4.3EPSS 2.7%Postgresql: memory disclosure in aggregate function calls
Published: 12/10/2023Modified: 11/19/2025
Also known as:ALPINE-CVE-2023-5868
Description
A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function calls with 'unknown'-type arguments. Handling 'unknown'-type values from string literals without type designation can disclose bytes, potentially revealing notable and confidential information. This issue exists due to excessive data output in aggregate function calls, enabling remote users to read some portion of system memory.
Affected packages (7)
- Alpine/postgresql14from 0, < 14.10-r0
- Alpine/postgresql15from 0, < 15.5-r0
- Alpine/postgresql16from 0, < 16.1-r0
- Bitnami/postgresql>= 11.0.0, < 11.22.0, >= 12.0.0, < 12.17.0, >= 13.0.0, < 13.13.0, >= 14.0.0, < 14.10.0, >= 15.0.0, < 15.5.0, >= 16.0.0, < 16.0.1
- Debian/postgresql-11from 0, < 11.22-0+deb10u1
- Debian/postgresql-13from 0, < 13.13-0+deb11u1
- Debian/postgresql-15from 0, < 15.5-0+deb12u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
References (30)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2023-5868
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-5868
- WEBhttps://access.redhat.com/errata/RHSA-2023:7545
- WEBhttps://access.redhat.com/errata/RHSA-2023:7579
- WEBhttps://access.redhat.com/errata/RHSA-2023:7580
- WEBhttps://access.redhat.com/errata/RHSA-2023:7581
- WEBhttps://access.redhat.com/errata/RHSA-2023:7616
- WEBhttps://access.redhat.com/errata/RHSA-2023:7656
- WEBhttps://access.redhat.com/errata/RHSA-2023:7666
- WEBhttps://access.redhat.com/errata/RHSA-2023:7667
- WEBhttps://access.redhat.com/errata/RHSA-2023:7694
- WEBhttps://access.redhat.com/errata/RHSA-2023:7695
- WEBhttps://access.redhat.com/errata/RHSA-2023:7714
- WEBhttps://access.redhat.com/errata/RHSA-2023:7770
- WEBhttps://access.redhat.com/errata/RHSA-2023:7772
- WEBhttps://access.redhat.com/errata/RHSA-2023:7784
- WEBhttps://access.redhat.com/errata/RHSA-2023:7785
- WEBhttps://access.redhat.com/errata/RHSA-2023:7883
- WEBhttps://access.redhat.com/errata/RHSA-2023:7884
- WEBhttps://access.redhat.com/errata/RHSA-2023:7885
- WEBhttps://access.redhat.com/errata/RHSA-2024:0304
- WEBhttps://access.redhat.com/errata/RHSA-2024:0332
- WEBhttps://access.redhat.com/errata/RHSA-2024:0337
- WEBhttps://access.redhat.com/security/cve/CVE-2023-5868
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2247168
- WEBhttps://lists.debian.org/debian-lts-announce/2023/11/msg00007.html
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2023-5868
- WEBhttps://security.netapp.com/advisory/ntap-20240119-0003/
- WEBhttps://www.postgresql.org/about/news/postgresql-161-155-1410-1313-1217-and-1122-released-2749/
- WEBhttps://www.postgresql.org/support/security/CVE-2023-5868/