{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2021-23214",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "postgresql",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "Affects v9.6 to v14"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=2022666",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2022666"
            },
            {
                "refsource": "MISC",
                "name": "https://www.postgresql.org/support/security/CVE-2021-23214/",
                "url": "https://www.postgresql.org/support/security/CVE-2021-23214/"
            },
            {
                "refsource": "MISC",
                "name": "https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=28e24125541545483093819efae9bca603441951",
                "url": "https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=28e24125541545483093819efae9bca603441951"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951",
                "url": "https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202211-04",
                "url": "https://security.gentoo.org/glsa/202211-04"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    }
}