CVE-2021-3935: SQL Injection

Published Nov 8, 2021
·
Updated

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.

Affected Software

5 affected componentsFixes available
redhat/PgBouncer<1.16.1
1.16.1
PgBouncer PgBouncer<1.16.1
redhat Enterprise Linux=7.0
Fedoraproject Fedora=35
Debian Debian Linux=9.0

Event History

Nov 22, 2021
CVE Published
via MITRE·03:59 PM
Data Sourced
via MITRE·03:59 PM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-3935?

CVE-2021-3935 is a vulnerability in PgBouncer that allows a man-in-the-middle attacker to inject arbitrary SQL queries.

2

What is the severity of CVE-2021-3935?

CVE-2021-3935 has a severity rating of 8.1 (high).

3

Which versions of PgBouncer are affected by CVE-2021-3935?

PgBouncer versions prior to 1.16.1 are affected by CVE-2021-3935.

4

How can a man-in-the-middle attacker exploit CVE-2021-3935?

A man-in-the-middle attacker can exploit CVE-2021-3935 by injecting arbitrary SQL queries when a connection is first established.

5

Are there any known references for CVE-2021-3935?

Yes, you can find references for CVE-2021-3935 at the following links: [Link1](http://www.pgbouncer.org/changelog.html#pgbouncer-116x), [Link2](https://bugzilla.redhat.com/show_bug.cgi?id=2021251), [Link3](https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203