QID 352821

Date Published: 2021-09-15

QID 352821: Amazon Linux Security Advisory for postgresql9: AL2012-2021-345

Package updates are available for amazon linux that fix the following vulnerabilities:
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-2019-10208: a flaw was discovered in postgresql where arbitrary sql statements can be executed given a suitable security definer function.
An attacker, with execute permission on the function, can execute arbitrary sql as the owner of the function.
1734416: cve-2019-10208 postgresql: type in pg_temp executes arbitrary sql during security definer execution


Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Allows unauthorized disclosure of information; allows unauthorized modification; allows disruption of service.

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as High - 6.5 severity.
  • Solution
    Administrators are advised to apply the appropriate software updates.
    Vendor References

    CVEs related to QID 352821

    Software Advisories
    Advisory ID Software Component Link
    AL2012-2021-345 Amazon Linux Bare Metal URL Logo docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-updates.html