SQL Injection Affecting postgresql-13 package, versions <13.5-0+deb11u1
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-DEBIAN11-POSTGRESQL13-1920109
- published 12 Nov 2021
- disclosed 4 Mar 2022
Introduced: 12 Nov 2021
CVE-2021-23214 Open this link in a new tabHow to fix?
Upgrade Debian:11
postgresql-13
to version 13.5-0+deb11u1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream postgresql-13
package and not the postgresql-13
package as distributed by Debian
.
See How to fix?
for Debian:11
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://security-tracker.debian.org/tracker/CVE-2021-23214
- 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/