{"id":"UBUNTU-CVE-2021-32029","details":"A flaw was found in postgresql. Using an UPDATE ... RETURNING command on a purpose-crafted table, an authenticated database user could read arbitrary bytes of server memory. The highest threat from this vulnerability is to data confidentiality.","modified":"2026-04-22T12:54:11.499168Z","published":"2021-05-13T00:00:00Z","related":["USN-4972-1"],"upstream":["CVE-2021-32029"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-32029"},{"type":"REPORT","url":"https://www.postgresql.org/about/news/postgresql-133-127-1112-1017-and-9622-released-2210/"},{"type":"REPORT","url":"https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=a71cfc56bf6013e3ea1d673acaf73fe7ebbd6bf3"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4972-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-32029"}],"affected":[{"package":{"name":"postgresql-9.3","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/postgresql-9.3@9.3.24-0ubuntu0.14.04+esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.3.1-1","9.3.2-1","9.3.2-1ubuntu1","9.3.2-1ubuntu2","9.3.3-1","9.3.3-1bzr1","9.3.3-1bzr2","9.3.4-1","9.3.5-0ubuntu0.14.04.1","9.3.6-0ubuntu0.14.04","9.3.7-0ubuntu0.14.04","9.3.8-0ubuntu0.4.04","9.3.9-0ubuntu0.14.04","9.3.10-0ubuntu0.14.04","9.3.11-0ubuntu0.14.04","9.3.12-0ubuntu0.14.04","9.3.13-0ubuntu0.14.04","9.3.14-0ubuntu0.14.04","9.3.15-0ubuntu0.14.04","9.3.16-0ubuntu0.14.04","9.3.17-0ubuntu0.14.04","9.3.18-0ubuntu0.14.04.1","9.3.19-0ubuntu0.14.04","9.3.20-0ubuntu0.14.04","9.3.21-0ubuntu0.14.04","9.3.22-0ubuntu0.14.04","9.3.23-0ubuntu0.14.04","9.3.24-0ubuntu0.14.04","9.3.24-0ubuntu0.14.04+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libecpg-compat3","binary_version":"9.3.24-0ubuntu0.14.04+esm1"},{"binary_name":"libecpg6","binary_version":"9.3.24-0ubuntu0.14.04+esm1"},{"binary_name":"libpgtypes3","binary_version":"9.3.24-0ubuntu0.14.04+esm1"},{"binary_name":"libpq5","binary_version":"9.3.24-0ubuntu0.14.04+esm1"},{"binary_name":"postgresql-9.3","binary_version":"9.3.24-0ubuntu0.14.04+esm1"},{"binary_name":"postgresql-client-9.3","binary_version":"9.3.24-0ubuntu0.14.04+esm1"},{"binary_name":"postgresql-contrib-9.3","binary_version":"9.3.24-0ubuntu0.14.04+esm1"},{"binary_name":"postgresql-doc-9.3","binary_version":"9.3.24-0ubuntu0.14.04+esm1"},{"binary_name":"postgresql-plperl-9.3","binary_version":"9.3.24-0ubuntu0.14.04+esm1"},{"binary_name":"postgresql-plpython-9.3","binary_version":"9.3.24-0ubuntu0.14.04+esm1"},{"binary_name":"postgresql-plpython3-9.3","binary_version":"9.3.24-0ubuntu0.14.04+esm1"},{"binary_name":"postgresql-pltcl-9.3","binary_version":"9.3.24-0ubuntu0.14.04+esm1"},{"binary_name":"postgresql-server-dev-9.3","binary_version":"9.3.24-0ubuntu0.14.04+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-32029.json"}},{"package":{"name":"postgresql-12","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/postgresql-12@12.7-0ubuntu0.20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.7-0ubuntu0.20.04.1"}]}],"versions":["12.0-1","12.1-1","12.1-2build1","12.2-1","12.2-1ubuntu2","12.2-4","12.4-0ubuntu0.20.04.1","12.5-0ubuntu0.20.04.1","12.6-0ubuntu0.20.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libecpg-compat3","binary_version":"12.7-0ubuntu0.20.04.1"},{"binary_name":"libecpg6","binary_version":"12.7-0ubuntu0.20.04.1"},{"binary_name":"libpgtypes3","binary_version":"12.7-0ubuntu0.20.04.1"},{"binary_name":"libpq5","binary_version":"12.7-0ubuntu0.20.04.1"},{"binary_name":"postgresql-12","binary_version":"12.7-0ubuntu0.20.04.1"},{"binary_name":"postgresql-client-12","binary_version":"12.7-0ubuntu0.20.04.1"},{"binary_name":"postgresql-doc-12","binary_version":"12.7-0ubuntu0.20.04.1"},{"binary_name":"postgresql-plperl-12","binary_version":"12.7-0ubuntu0.20.04.1"},{"binary_name":"postgresql-plpython3-12","binary_version":"12.7-0ubuntu0.20.04.1"},{"binary_name":"postgresql-pltcl-12","binary_version":"12.7-0ubuntu0.20.04.1"},{"binary_name":"postgresql-server-dev-12","binary_version":"12.7-0ubuntu0.20.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-32029.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}