{"id":"UBUNTU-CVE-2021-3393","details":"An information leak was discovered in postgresql in versions before 13.2, before 12.6 and before 11.11. A user having UPDATE permission but not SELECT permission to a particular column could craft queries which, under some circumstances, might disclose values from that column in error messages. An attacker could use this flaw to obtain information stored in a column they are allowed to write but not read.","modified":"2026-04-22T12:55:21.157226Z","published":"2021-02-12T00:00:00Z","related":["USN-4735-1"],"upstream":["CVE-2021-3393"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3393"},{"type":"REPORT","url":"https://www.postgresql.org/about/news/postgresql-132-126-1111-1016-9621-and-9525-released-2165/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4735-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3393"}],"affected":[{"package":{"name":"postgresql-12","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/postgresql-12@12.6-0ubuntu0.20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.6-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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libecpg-compat3","binary_version":"12.6-0ubuntu0.20.04.1"},{"binary_version":"12.6-0ubuntu0.20.04.1","binary_name":"libecpg6"},{"binary_name":"libpgtypes3","binary_version":"12.6-0ubuntu0.20.04.1"},{"binary_name":"libpq5","binary_version":"12.6-0ubuntu0.20.04.1"},{"binary_version":"12.6-0ubuntu0.20.04.1","binary_name":"postgresql-12"},{"binary_name":"postgresql-client-12","binary_version":"12.6-0ubuntu0.20.04.1"},{"binary_name":"postgresql-doc-12","binary_version":"12.6-0ubuntu0.20.04.1"},{"binary_name":"postgresql-plperl-12","binary_version":"12.6-0ubuntu0.20.04.1"},{"binary_name":"postgresql-plpython3-12","binary_version":"12.6-0ubuntu0.20.04.1"},{"binary_name":"postgresql-pltcl-12","binary_version":"12.6-0ubuntu0.20.04.1"},{"binary_name":"postgresql-server-dev-12","binary_version":"12.6-0ubuntu0.20.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3393.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:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}