CVE-2024-10979
published high CVSS 3.1 · 8.8PostgreSQL PL/Perl environment variable changes execute arbitrary code
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | PostgreSQL17 to < 17.1 · 16 to < 16.5 · 15 to < 15.9 · 14 to < 14.14 · 13 to < 13.17 · 0 to < 12.21 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
| postgresql | — | postgresql0 to < 12.21 · 13 to < 13.17 · 14 to < 14.14 · 15 to < 15.9 · 16 to < 16.5 · 17 to < 17.1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2764 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL13-2024-008 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL14-2024-014 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL14-2024-015 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | postgresql | Advisory build | 12.22-1.module_el8.10.0+3927+7f0fab70 | ALSA-2024:10785 |
| Oracle Linux | 7 | postgresqlaarch64 | Advisory build | 0:9.2.24-9.0.3.el7_9 | ELSA-2024-10882 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-786 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-787 | Fixed | Not stated | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-7 | postgresqli686 | Advisory build | 9.2.24-9.el7_9.2 | RHSA-2024:10882 |
| AlmaLinux | 8 | postgresql | Advisory build | 13.18-1.module_el8.10.0+3928+8233d274 | ALSA-2024:10832 |
| AlmaLinux | 8 | postgresql | Advisory build | 15.10-1.module_el8.10.0+3929+38258aa5 | ALSA-2024:10830 |
| AlmaLinux | 8 | postgresql | Advisory build | 16.6-1.module_el8.10.0+3930+ecf33554 | ALSA-2024:10831 |
| AlmaLinux | 9 | postgresql | Advisory build | 13.18-1.el9_5 | ALSA-2024:10791 |
| AlmaLinux | 9 | postgresql | Advisory build | 15.10-1.module_el9.5.0+126+03d48c9f | ALSA-2024:10787 |
| AlmaLinux | 9 | postgresql | Advisory build | 16.6-1.module_el9.5.0+127+50ff03a9 | ALSA-2024:10788 |
| AlmaLinux | 9 | postgresql | Advisory build | 16.6-1.module_el9.5.0+128+1095dce2 | ALSA-2024:10788 |
| Oracle Linux | 7 | postgresqlx86_64 | Advisory build | 0:9.2.24-9.0.3.el7_9 | ELSA-2024-10882 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 12b | Advisory build | 0:12.22-1.module+el8.10.0+90457+0de00356 | ELSA-2024-10785 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 13b | Advisory build | 0:13.18-1.module+el8.10.0+90452+3c12d786 | ELSA-2024-10832 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 15b | Advisory build | 0:15.10-1.module+el8.10.0+90458+cb6e8adf | ELSA-2024-10830 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 16b | Advisory build | 0:16.6-1.module+el8.10.0+90451+109c7b24 | ELSA-2024-10831 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 12b | Advisory build | 0:12.22-1.module+el8.10.0+90457+0de00356 | ELSA-2024-10785 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 13b | Advisory build | 0:13.18-1.module+el8.10.0+90452+3c12d786 | ELSA-2024-10832 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 15b | Advisory build | 0:15.10-1.module+el8.10.0+90458+cb6e8adf | ELSA-2024-10830 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 16b | Advisory build | 0:16.6-1.module+el8.10.0+90451+109c7b24 | ELSA-2024-10831 |
| Oracle Linux | 9 | postgresqlaarch64 | Advisory build | 0:13.18-1.el9_5 | ELSA-2024-10791 |
| Oracle Linux | 9 | postgresqlaarch64 · postgresql · 15b | Advisory build | 0:15.10-1.module+el9.5.0+90459+212179db | ELSA-2024-10787 |
| Oracle Linux | 9 | postgresqlaarch64 · postgresql · 16b | Advisory build | 0:16.6-1.module+el9.5.0+90450+cb2feb1d | ELSA-2024-10788 |
| Oracle Linux | 9 | postgresqlx86_64 | Advisory build | 0:13.18-1.el9_5 | ELSA-2024-10791 |
| Oracle Linux | 9 | postgresqlx86_64 · postgresql · 15b | Advisory build | 0:15.10-1.module+el9.5.0+90459+212179db | ELSA-2024-10787 |
| Oracle Linux | 9 | postgresqlx86_64 · postgresql · 16b | Advisory build | 0:16.6-1.module+el9.5.0+90450+cb2feb1d | ELSA-2024-10788 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc | Advisory build | 9.2.24-9.el7_9.2 | RHSA-2024:10882 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc64 | Advisory build | 9.2.24-9.el7_9.2 | RHSA-2024:10882 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc64le | Advisory build | 9.2.24-9.el7_9.2 | RHSA-2024:10882 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqls390 | Advisory build | 9.2.24-9.el7_9.2 | RHSA-2024:10882 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqls390x | Advisory build | 9.2.24-9.el7_9.2 | RHSA-2024:10882 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlsrc | Advisory build | 9.2.24-9.el7_9.2 | RHSA-2024:10882 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlx86_64 | Advisory build | 9.2.24-9.el7_9.2 | RHSA-2024:10882 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.22-1.module+el8.10.0+22548+dd326681 | RHSA-2024:10785 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.22-1.module+el8.6.0+22577+1e38f377 | RHSA-2024:10705 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.22-1.module+el8.8.0+22576+cdf4cc5d | RHSA-2024:10750 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 13.18-1.module+el8.10.0+22549+cf2ec3d9 | RHSA-2024:10832 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 13.18-1.module+el8.6.0+22575+1d1430ad.1 | RHSA-2024:10677 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 13.18-1.module+el8.8.0+22584+ff67aba6.2 | RHSA-2024:10800 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 15.10-1.module+el8.10.0+22550+22c7d5ca | RHSA-2024:10830 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 15.10-1.module+el8.8.0+22585+211737dc.1 | RHSA-2024:10851 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 16.6-1.module+el8.10.0+22551+c0330dc9 | RHSA-2024:10831 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.22-1.module+el8.10.0+22548+dd326681 | RHSA-2024:10785 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.22-1.module+el8.4.0+22583+29030e83 | RHSA-2024:10789 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.22-1.module+el8.6.0+22577+1e38f377 | RHSA-2024:10705 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.22-1.module+el8.8.0+22576+cdf4cc5d | RHSA-2024:10750 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 13.18-1.module+el8.10.0+22549+cf2ec3d9 | RHSA-2024:10832 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 13.18-1.module+el8.4.0+22569+f2b35d9d | RHSA-2024:10846 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 13.18-1.module+el8.6.0+22575+1d1430ad.1 | RHSA-2024:10677 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 13.18-1.module+el8.8.0+22584+ff67aba6.2 | RHSA-2024:10800 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 15.10-1.module+el8.10.0+22550+22c7d5ca | RHSA-2024:10830 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 15.10-1.module+el8.8.0+22585+211737dc.1 | RHSA-2024:10851 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 16.6-1.module+el8.10.0+22551+c0330dc9 | RHSA-2024:10831 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 12.22-1.module+el8.10.0+22548+dd326681 | RHSA-2024:10785 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 12.22-1.module+el8.6.0+22577+1e38f377 | RHSA-2024:10705 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 12.22-1.module+el8.8.0+22576+cdf4cc5d | RHSA-2024:10750 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 13.18-1.module+el8.10.0+22549+cf2ec3d9 | RHSA-2024:10832 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 13.18-1.module+el8.6.0+22575+1d1430ad.1 | RHSA-2024:10677 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 13.18-1.module+el8.8.0+22584+ff67aba6.2 | RHSA-2024:10800 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 15.10-1.module+el8.10.0+22550+22c7d5ca | RHSA-2024:10830 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 15.10-1.module+el8.8.0+22585+211737dc.1 | RHSA-2024:10851 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 16.6-1.module+el8.10.0+22551+c0330dc9 | RHSA-2024:10831 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.22-1.module+el8.10.0+22548+dd326681 | RHSA-2024:10785 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.22-1.module+el8.2.0+22565+6ef52370 | RHSA-2024:10739 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.22-1.module+el8.4.0+22583+29030e83 | RHSA-2024:10789 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.22-1.module+el8.6.0+22577+1e38f377 | RHSA-2024:10705 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.22-1.module+el8.8.0+22576+cdf4cc5d | RHSA-2024:10750 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 13.18-1.module+el8.10.0+22549+cf2ec3d9 | RHSA-2024:10832 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 13.18-1.module+el8.4.0+22569+f2b35d9d | RHSA-2024:10846 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 13.18-1.module+el8.6.0+22575+1d1430ad.1 | RHSA-2024:10677 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 13.18-1.module+el8.8.0+22584+ff67aba6.2 | RHSA-2024:10800 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 15.10-1.module+el8.10.0+22550+22c7d5ca | RHSA-2024:10830 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 15.10-1.module+el8.8.0+22585+211737dc.1 | RHSA-2024:10851 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 16.6-1.module+el8.10.0+22551+c0330dc9 | RHSA-2024:10831 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.22-1.module+el8.10.0+22548+dd326681 | RHSA-2024:10785 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.22-1.module+el8.2.0+22565+6ef52370 | RHSA-2024:10739 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.22-1.module+el8.4.0+22583+29030e83 | RHSA-2024:10789 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.22-1.module+el8.6.0+22577+1e38f377 | RHSA-2024:10705 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.22-1.module+el8.8.0+22576+cdf4cc5d | RHSA-2024:10750 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 13.18-1.module+el8.10.0+22549+cf2ec3d9 | RHSA-2024:10832 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 13.18-1.module+el8.4.0+22569+f2b35d9d | RHSA-2024:10846 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 13.18-1.module+el8.6.0+22575+1d1430ad.1 | RHSA-2024:10677 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 13.18-1.module+el8.8.0+22584+ff67aba6.2 | RHSA-2024:10800 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 15.10-1.module+el8.10.0+22550+22c7d5ca | RHSA-2024:10830 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 15.10-1.module+el8.8.0+22585+211737dc.1 | RHSA-2024:10851 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 16.6-1.module+el8.10.0+22551+c0330dc9 | RHSA-2024:10831 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlaarch64 | Advisory build | 13.18-1.el9_0 | RHSA-2024:10827 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlaarch64 | Advisory build | 13.18-1.el9_2 | RHSA-2024:10879 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlaarch64 | Advisory build | 13.18-1.el9_4 | RHSA-2024:10595 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlaarch64 | Advisory build | 13.18-1.el9_5 | RHSA-2024:10791 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlaarch64 | Advisory build | 15.10-1.module+el9.2.0+22561+45645a4b.1 | RHSA-2024:10807 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlaarch64 | Advisory build | 15.10-1.module+el9.4.0+22547+ce1ca135 | RHSA-2024:10736 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlaarch64 | Advisory build | 15.10-1.module+el9.5.0+22558+abb1a50b | RHSA-2024:10787 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlaarch64 | Advisory build | 16.6-1.module+el9.4.0+22559+51e7c730.1 | RHSA-2024:10593 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlaarch64 | Advisory build | 16.6-1.module+el9.5.0+22557+8cb08ba5 | RHSA-2024:10788 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlppc64le | Advisory build | 13.18-1.el9_0 | RHSA-2024:10827 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlppc64le | Advisory build | 13.18-1.el9_2 | RHSA-2024:10879 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlppc64le | Advisory build | 13.18-1.el9_4 | RHSA-2024:10595 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlppc64le | Advisory build | 13.18-1.el9_5 | RHSA-2024:10791 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlppc64le | Advisory build | 15.10-1.module+el9.2.0+22561+45645a4b.1 | RHSA-2024:10807 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlppc64le | Advisory build | 15.10-1.module+el9.4.0+22547+ce1ca135 | RHSA-2024:10736 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g. PATH). That often suffices to enable arbitrary code execution, even if the attacker lacks a database server operating system user. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.
Related advisories
Vendor advisories explicitly linked to this CVE.
Showing the first 100 linked advisory records.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | PostgreSQL | 17 to < 17.1 (affected · rpm)16 to < 16.5 (affected · rpm)15 to < 15.9 (affected · rpm)14 to < 14.14 (affected · rpm)13 to < 13.17 (affected · rpm)0 to < 12.21 (affected · rpm)Default: unaffected | PostgreSQL · cna |
| postgresql | postgresql | 0 to < 12.21 (affected · rpm)13 to < 13.17 (affected · rpm)14 to < 14.14 (affected · rpm)15 to < 15.9 (affected · rpm)16 to < 16.5 (affected · rpm)17 to < 17.1 (affected · rpm)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-15 External Control of System or Configuration Setting
References
4Provider assertions
3PostgreSQL · cna
PostgreSQL PL/Perl environment variable changes execute arbitrary code
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c5a1e185192d8b63910b30369fe24b09eab8a8a4402e530723fa8fa329579c77
- Ingested
- 23 Sep 2026, 08:16:56 UTC
- Source record
- Official CVE record