[COMMITTERS] pgsql: Verify that the server constructed the SCRAM nonce correctly. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject [COMMITTERS] pgsql: Verify that the server constructed the SCRAM nonce correctly.
Date
Msg-id E1dD6Yn-00038m-Ma@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Verify that the server constructed the SCRAM nonce correctly.

The nonce consists of client and server nonces concatenated together. The
client checks the nonce contained the client nonce, but it would get fooled
if the server sent a truncated or even empty nonce.

Reported by Steven Fackler to security@postgresql.org. Neither me or Steven
are sure what harm a malicious server could do with this, but let's fix it.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1c9b6e818f047e07f1de62b4d11e0c5db2d55ab7

Modified Files
--------------
src/interfaces/libpq/fe-auth-scram.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Michael Meskes
Date:
Subject: [COMMITTERS] pgsql: Synced ecpg's pg_type.h with the one used in the backend.
Next
From: Magnus Hagander
Date:
Subject: [COMMITTERS] pgsql: Update URLs in pgindent source and README