{"schemaVersion":3,"id":"CVE-2021-32029","aliases":["ALPINE-CVE-2021-32029","UBUNTU-CVE-2021-32029","DEBIAN-CVE-2021-32029"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2021-10-08T16:44:22.000Z","modified":"2024-08-03T23:17:29.448Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01504,"percentile":0.73948,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01504},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01504,"percentile":0.73948}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01504,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01504,"percentile":0.73948}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"alpine","product":"postgresql","name":"postgresql","label":"postgresql","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/postgresql","purlType":"apk","versions":[{"text":"≥ 11.0, < 11.12-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 11.0, < 12.7-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 11.0, < 13.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 11.0, < 11.12-r0 | ≥ 11.0, < 12.7-r0 | ≥ 11.0, < 13.3-r0","eol":null,"hubHref":null},{"vendor":"alpine","product":"postgresql13","name":"postgresql13","label":"postgresql13","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/postgresql13","purlType":"apk","versions":[{"text":"< 13.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 13.3-r0","eol":null,"hubHref":null},{"vendor":"alpine","product":"postgresql14","name":"postgresql14","label":"postgresql14","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/postgresql14","purlType":"apk","versions":[{"text":"< 13.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 13.3-r0","eol":null,"hubHref":null},{"vendor":"alpine","product":"postgresql15","name":"postgresql15","label":"postgresql15","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/postgresql15","purlType":"apk","versions":[{"text":"< 13.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 13.3-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"postgresql-13","name":"postgresql-13","label":"postgresql-13","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/postgresql-13","purlType":"deb","versions":[{"text":"< 13.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 13.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-12","name":"postgresql-12","label":"postgresql-12","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-12","purlType":"deb","versions":[{"text":"< 12.7-0ubuntu0.20.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 12.7-0ubuntu0.20.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-9.3","name":"postgresql-9.3","label":"postgresql-9.3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-9.3","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"postgresql","product":"postgresql","name":"postgresql","label":"postgresql","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 11.0, < 11.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 12.0, < 12.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 13.0, < 13.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 11.0, < 11.12 | ≥ 12.0, < 12.7 | ≥ 13.0, < 13.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"postgresql","label":"PostgreSQL","category":"database"}},"hubHref":"/vendor/postgresql/postgresql"},{"vendor":"redhat","product":"jboss_enterprise_application_platform","name":"jboss enterprise application platform","label":"jboss_enterprise_application_platform","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"7.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0.0","eol":null,"hubHref":"/vendor/redhat/jboss_enterprise_application_platform"}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1956883","label":"bugzilla.redhat.com/show_bug.cgi?id=1956883","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://www.postgresql.org/support/security/CVE-2021-32029/","label":"www.postgresql.org/support/security/CVE-2021-32029/","hostname":"www.postgresql.org","tags":["X Refsource MISC","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20211112-0003/","label":"security.netapp.com/advisory/ntap-20211112-0003/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-32029","label":"security.alpinelinux.org/vuln/CVE-2021-32029","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-32029","label":"ubuntu.com/security/CVE-2021-32029","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.postgresql.org/about/news/postgresql-133-127-1112-1017-and-9622-released-2210/","label":"www.postgresql.org/about/news/postgresql-133-127-1112-1017-and-9622-released-2210/","hostname":"www.postgresql.org","tags":["REPORT"]},{"url":"https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=a71cfc56bf6013e3ea1d673acaf73fe7ebbd6bf3","label":"git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=a71cfc56bf6013e3ea1d673acaf73fe7ebbd6bf3","hostname":"git.postgresql.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4972-1","label":"ubuntu.com/security/notices/USN-4972-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32029","label":"www.cve.org/CVERecord?id=CVE-2021-32029","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-32029","label":"security-tracker.debian.org/tracker/CVE-2021-32029","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-4915-1","MGASA-2021-0221","OPENSUSE-SU-2021:1785-1","OPENSUSE-SU-2021:1994-1","OPENSUSE-SU-2024:11185-1","OPENSUSE-SU-2024:11186-1","OPENSUSE-SU-2024:11187-1","OPENSUSE-SU-2024:12387-1","OPENSUSE-SU-2024:13243-1","OPENSUSE-SU-2024:14360-1","OPENSUSE-SU-2025:15580-1","RHSA-2021:2372","RHSA-2021:2375","RHSA-2021:2389","RHSA-2021:2394","RHSA-2021:2396","SUSE-SU-2021:1783-1","SUSE-SU-2021:1784-1","SUSE-SU-2021:1785-1","SUSE-SU-2021:1785-2","SUSE-SU-2021:1994-1","SUSE-SU-2022:2958-1","USN-4972-1"],"duplicates":[],"related":["OPENSUSE-SU-2021:1785-1","OPENSUSE-SU-2021:1994-1","OPENSUSE-SU-2024:11185-1","OPENSUSE-SU-2024:11186-1","OPENSUSE-SU-2024:11187-1","OPENSUSE-SU-2024:12387-1","OPENSUSE-SU-2024:13243-1","OPENSUSE-SU-2024:14360-1","OPENSUSE-SU-2025:15580-1","SUSE-SU-2021:1783-1","SUSE-SU-2021:1784-1","SUSE-SU-2021:1785-1","SUSE-SU-2021:1785-2","SUSE-SU-2021:1994-1","SUSE-SU-2022:2958-1","USN-4972-1"]},"timeline":[{"kind":"published","date":"2021-10-08T16:44:22.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T23:17:29.448Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T01:13:08.869Z","stale":false,"partial":false}}