Vulnerability · Published Jun 1, 2021 · Assigned by redhat

CVE-2021-32027

High 8.8

In plain English

A high-severity integer overflow in postgresql. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)8.8High
Exploit odds (30 days)2.0%top 19.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

A flaw was found in postgresql in versions before 13.3, before 12.7, before 11.12, before 10.17 and before 9.6.22. While modifying certain SQL array values, missing bounds checks let authenticated database users write arbitrary bytes to a wide area of server memory. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8pgaudit1.5.0-1.module_el8.6.0+2760+1746ec94ALSA-2021:2375
AlmaLinux:8pgaudit1.5.0-1.module_el8.5.0+2607+8c0fd184ALSA-2021:2375
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+2760+1746ec94ALSA-2021:2372
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+2758+4f4474dfALSA-2021:2375
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.5.0+2607+8c0fd184ALSA-2021:2375
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+2760+1746ec94ALSA-2021:2375
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+2758+4f4474dfALSA-2021:2372
AlmaLinux:8postgresql9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-contrib9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-contrib9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-contrib9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-docs9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-docs9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-docs9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-plperl9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-plperl9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-plperl9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-plpython39.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-plpython39.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-plpython39.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-pltcl9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-pltcl9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-pltcl9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-server9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-server9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-server9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-server-devel9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-server-devel9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-server-devel9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-static9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-static9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-static9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-test9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-test9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-test9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-test-rpm-macros9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-test-rpm-macros9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-test-rpm-macros9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
Alpine:v3.20postgresql1413.3-r0ALPINE-CVE-2021-32027
Alpine:v3.20postgresql1513.3-r0ALPINE-CVE-2021-32027
Rocky Linux:8pgaudit0:1.4.0-6.module+el8.4.0+587+d46efd10RLSA-2021:2372
Rocky Linux:8pgaudit0:1.5.0-1.module+el8.5.0+684+c3892ef9RLSA-2021:2375
Rocky Linux:8pgaudit0:1.5.0-1.module+el8.4.0+546+3620623eRLSA-2021:2375
Rocky Linux:8postgres-decoderbufs0:0.10.0-2.module+el8.5.0+684+c3892ef9RLSA-2021:2375
Rocky Linux:8postgres-decoderbufs0:0.10.0-2.module+el8.4.0+424+71d47d9aRLSA-2021:2372
Rocky Linux:8postgres-decoderbufs0:0.10.0-2.module+el8.4.0+424+71d47d9aRLSA-2021:2375
Rocky Linux:8postgres-decoderbufs0:0.10.0-2.module+el8.5.0+684+c3892ef9RLSA-2021:2372
Rocky Linux:8postgresql0:9.6.22-1.module+el8.5.0+687+7cd82e08RLSA-2021:2360
Rocky Linux:8postgresql0:12.7-1.module+el8.4.0+545+ca56da2eRLSA-2021:2372
Rocky Linux:8postgresql0:13.3-1.module+el8.4.0+546+3620623eRLSA-2021:2375
Rocky Linux:8postgresql0:9.6.22-1.module+el8.4.0+547+51cac6dbRLSA-2021:2360
Rocky Linux:8postgresql0:10.17-1.module+el8.4.0+548+9eccbe3fRLSA-2021:2361

Affected products (as reported)

VendorProductVersions
n/a postgresql postgresql 13.3, postgresql 12.7, postgresql 11.12, postgresql 10.17, postgresql 9.6.22

Weakness: CWE-190

References