Vulnerability Details : CVE-2021-23214
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.
Vulnerability category: Sql Injection
Products affected by CVE-2021-23214
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:software_collections:1.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:*
- cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
- cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
- cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
- cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
- cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
- cpe:2.3:a:postgresql:postgresql:14.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
Threat overview for CVE-2021-23214
Top countries where our scanners detected CVE-2021-23214
Top open port discovered on systems with this issue
5432
IPs affected by CVE-2021-23214 457,611
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2021-23214!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2021-23214
0.20%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 57 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-23214
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.1
|
MEDIUM | AV:N/AC:H/Au:N/C:P/I:P/A:P |
4.9
|
6.4
|
NIST | |
8.1
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
2.2
|
5.9
|
NIST |
CWE ids for CVE-2021-23214
-
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.Assigned by:
- nvd@nist.gov (Secondary)
- secalert@redhat.com (Primary)
References for CVE-2021-23214
-
https://bugzilla.redhat.com/show_bug.cgi?id=2022666
2022666 – (CVE-2021-23214) CVE-2021-23214 postgresql: server processes unencrypted bytes from man-in-the-middleIssue Tracking;Patch;Third Party Advisory
-
https://security.gentoo.org/glsa/202211-04
PostgreSQL: Multiple Vulnerabilities (GLSA 202211-04) — Gentoo securityThird Party Advisory
-
https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951
Reject extraneous data after SSL or GSS encryption handshake. · postgres/postgres@28e2412 · GitHubPatch;Third Party Advisory
-
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=28e24125541545483093819efae9bca603441951
git.postgresql.org Git - postgresql.git/commitPatch;Vendor Advisory
-
https://www.postgresql.org/support/security/CVE-2021-23214/
PostgreSQL: CVE-2021-23214: Server processes unencrypted bytes from man-in-the-middleVendor Advisory
Jump to