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.
{ "vanir_signatures": [ { "deprecated": false, "id": "CVE-2021-23214-105eea8c", "signature_version": "v1", "digest": { "length": 6502.0, "function_hash": "3811890202093623500044753568135729362" }, "signature_type": "Function", "target": { "function": "ProcessStartupPacket", "file": "src/backend/postmaster/postmaster.c" }, "source": "https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951" }, { "deprecated": false, "id": "CVE-2021-23214-55642aa1", "signature_version": "v1", "digest": { "line_hashes": [ "144879391767781558536346253203041229101", "143909272608489929547646403088676984859", "165740410277193971204068639552488249268", "152409958841785490640372562688845117313", "234706297917235548429385406617794107408", "11828208314494370596831837586978750783" ], "threshold": 0.9 }, "signature_type": "Line", "target": { "file": "src/backend/postmaster/postmaster.c" }, "source": "https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951" }, { "deprecated": false, "id": "CVE-2021-23214-a802c310", "signature_version": "v1", "digest": { "line_hashes": [ "257279594944366299067624145088475835974", "188038483610294623053840785400255306180", "333524964208957746553278214859551397688" ], "threshold": 0.9 }, "signature_type": "Line", "target": { "file": "src/backend/libpq/pqcomm.c" }, "source": "https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951" }, { "deprecated": false, "id": "CVE-2021-23214-ee44c440", "signature_version": "v1", "digest": { "line_hashes": [ "269875017630651410691849837907292701499", "126933090860823315927436042326420265172", "127112800835486014972045098290616986500", "168426345693575339352762023412076698426" ], "threshold": 0.9 }, "signature_type": "Line", "target": { "file": "src/include/libpq/libpq.h" }, "source": "https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951" } ] }