SQL Injection Affecting postgresql13 package, versions <13.5-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-POSTGRESQL13-3143646
- 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
postgresql13
to version 13.5-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream postgresql13
package and not the postgresql13
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://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=28e24125541545483093819efae9bca603441951
- https://bugzilla.redhat.com/show_bug.cgi?id=2022666
- https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e24125541545483093819efae9bca603441951
- https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951
- https://security.gentoo.org/glsa/202211-04
- https://www.postgresql.org/support/security/CVE-2021-23214/