A man-in-the-middle attacker can inject false responses to the client's first few queries, despite the use of SSL certificate verification and encryption.
{
"versions": [
{
"introduced": "9.6"
},
{
"fixed": "9.6.24"
},
{
"introduced": "10.0"
},
{
"fixed": "10.19"
},
{
"introduced": "11.0"
},
{
"fixed": "11.14"
},
{
"introduced": "12.0"
},
{
"fixed": "12.9"
},
{
"introduced": "13.0"
},
{
"fixed": "13.5"
},
{
"introduced": "0"
},
{
"last_affected": "14.0"
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23222.json"
[
{
"signature_type": "Line",
"id": "CVE-2021-23222-e1be026c",
"source": "https://github.com/postgres/postgres/commit/160c0258802d10b0600d7671b1bbea55d8e17d45",
"target": {
"file": "src/interfaces/libpq/fe-connect.c"
},
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"10037443517696866748761392046871582022",
"325675312630126864791861414191520860108",
"248756423465337085234785710824740055381",
"219130724463359041405235398817575440371",
"18312600838351471896985731433715124179",
"29813103265162816138856506205737681509",
"248756423465337085234785710824740055381",
"219130724463359041405235398817575440371"
]
}
},
{
"signature_type": "Function",
"id": "CVE-2021-23222-f5ed594b",
"source": "https://github.com/postgres/postgres/commit/160c0258802d10b0600d7671b1bbea55d8e17d45",
"target": {
"function": "PQconnectPoll",
"file": "src/interfaces/libpq/fe-connect.c"
},
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "218920273742902448943626208937972612244",
"length": 22472.0
}
}
]