ubuntu-cve-2021-3935
Vulnerability from osv_ubuntu
Published
2021-11-22 16:15
Modified
2025-10-24 04:49
Summary
Details
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.
Severity
8.1 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pgbouncer",
"binary_version": "1.7-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "pgbouncer",
"purl": "pkg:deb/ubuntu/pgbouncer@1.7-1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.5.5-1",
"1.6.1-1",
"1.7-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pgbouncer",
"binary_version": "1.8.1-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "pgbouncer",
"purl": "pkg:deb/ubuntu/pgbouncer@1.8.1-1build1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.7.2-3build1",
"1.7.2-65-g2b8e6cf-1",
"1.8.1-1",
"1.8.1-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pgbouncer",
"binary_version": "1.12.0-3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "pgbouncer",
"purl": "pkg:deb/ubuntu/pgbouncer@1.12.0-3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.0-1",
"1.10.0-1build1",
"1.11.0-1",
"1.12.0-2",
"1.12.0-3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pgbouncer",
"binary_version": "1.16.1-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "pgbouncer",
"purl": "pkg:deb/ubuntu/pgbouncer@1.16.1-1ubuntu1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.15.0-1",
"1.16.1-1ubuntu1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2021-3935",
"modified": "2025-10-24T04:49:58Z",
"published": "2021-11-22T16:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-3935"
},
{
"type": "REPORT",
"url": "https://www.pgbouncer.org/2021/11/pgbouncer-1-16-1"
},
{
"type": "REPORT",
"url": "https://github.com/pgbouncer/pgbouncer/releases/tag/pgbouncer_1_16_1"
},
{
"type": "REPORT",
"url": "https://github.com/pgbouncer/pgbouncer/commit/e4453c9151a2f5af0a9cb049b302a3f9f9654453"
},
{
"type": "REPORT",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2021251"
},
{
"type": "REPORT",
"url": "http://www.pgbouncer.org/changelog.html#pgbouncer-116x"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-3935"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2021-3935"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…