{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "pgbouncer",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "PgBouncer 1.16.1"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "When PgBouncer is configured 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 TLS certificate verification and encryption. This flaw affects PgBouncer versions prior to 1.16.1."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-89",
                            "description": "CWE-89",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2022-02-14T14:06:26",
                "orgId": "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5",
                "shortName": "fedora"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2021251"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://www.pgbouncer.org/changelog.html#pgbouncer-116x"
                },
                {
                    "name": "FEDORA-2021-761cda0b77",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_FEDORA"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/"
                },
                {
                    "name": "[debian-lts-announce] 20220214 [SECURITY] [DLA 2922-1] pgbouncer security update",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "patrick@puiterwijk.org",
                    "ID": "CVE-2021-3935",
                    "STATE": "PUBLIC"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "pgbouncer",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_value": "PgBouncer 1.16.1"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "n/a"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "When PgBouncer is configured 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 TLS certificate verification and encryption. This flaw affects PgBouncer versions prior to 1.16.1."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "CWE-89"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "https://bugzilla.redhat.com/show_bug.cgi?id=2021251",
                            "refsource": "MISC",
                            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2021251"
                        },
                        {
                            "name": "http://www.pgbouncer.org/changelog.html#pgbouncer-116x",
                            "refsource": "MISC",
                            "url": "http://www.pgbouncer.org/changelog.html#pgbouncer-116x"
                        },
                        {
                            "name": "FEDORA-2021-761cda0b77",
                            "refsource": "FEDORA",
                            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/"
                        },
                        {
                            "name": "[debian-lts-announce] 20220214 [SECURITY] [DLA 2922-1] pgbouncer security update",
                            "refsource": "MLIST",
                            "url": "https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T17:09:09.763Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2021251"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://www.pgbouncer.org/changelog.html#pgbouncer-116x"
                    },
                    {
                        "name": "FEDORA-2021-761cda0b77",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_FEDORA",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/"
                    },
                    {
                        "name": "[debian-lts-announce] 20220214 [SECURITY] [DLA 2922-1] pgbouncer security update",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5",
        "assignerShortName": "fedora",
        "cveId": "CVE-2021-3935",
        "datePublished": "2021-11-22T15:59:14",
        "dateReserved": "2021-11-08T00:00:00",
        "dateUpdated": "2024-08-03T17:09:09.763Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}