SQL Injection Affecting postgresql14 package, versions <14.1-r0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE317-POSTGRESQL14-3141250
- published 14 Nov 2021
- disclosed 4 Mar 2022
Introduced: 14 Nov 2021
CVE-2021-23214 Open this link in a new tabHow to fix?
Upgrade Alpine:3.17
postgresql14
to version 14.1-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream postgresql14
package and not the postgresql14
package as distributed by Alpine
.
See How to fix?
for Alpine:3.17
relevant fixed versions and status.
When the server is configured to use trust authentication with a clientcert requirement or to use cert authentication, a man-in-the-middle attacker can inject arbitrary SQL queries when a connection is first established, despite the use of SSL certificate verification and encryption.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2022666
- https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=28e24125541545483093819efae9bca603441951
- https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951
- https://security.gentoo.org/glsa/202211-04
- https://www.postgresql.org/support/security/CVE-2021-23214/
- https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e24125541545483093819efae9bca603441951