Distro advisory · AmazonLinux 1
important priority package update for postgresql95 postgresql96
AmazonLinux 1
What it fixes
Package updates are available for Amazon Linux AMI that fix the following vulnerabilities: CVE-2020-25696: A flaw was found in the psql interactive terminal of PostgreSQL. If an interactive psql session uses \gset when querying a compromised server, this flaw allows an attacker to execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability. 1894430: CVE-2020-25696 postgresql: psql's \gset allows overwriting specially treated variables
CVE-2020-25695: A flaw was found in postgresql. An attacker having permission to create non-temporary objects in at least one schema can execute arbitrary SQL functions under the identity of a superuser. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. 1894425: CVE-2020-25695 postgresql: Multiple features escape "security restricted operation" sandbox
CVE-2020-25694: A flaw was found in postgresql. If a client application that creates additional database connections only reuses the basic connection parameters while dropping security-relevant parameters, an opportunity for a man-in-the-middle attack, or the ability to observe clear-text transmissions, could exist. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. 1894423: CVE-2020-25694 postgresql: Reconnection can downgrade connection security settings
Manual fix · AmazonLinux 1
sudo yum updateinfo info ALAS-2021-1476sudo yum upgrade --advisory=ALAS-2021-1476rpm -q postgresql95 postgresql96