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-ALPINE319-POSTGRESQL13-6110527
- published 8 Dec 2023
- disclosed 4 Mar 2022
Introduced: 4 Mar 2022
CVE-2021-23214 Open this link in a new tabHow to fix?
Upgrade Alpine:3.19
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.19
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