forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1c9b6e8
committed
Verify that the server constructed the SCRAM nonce correctly.
The nonce consists of client and server nonces concatenated together. Theclient checks the nonce contained the client nonce, but it would get fooledif the server sent a truncated or even empty nonce.Reported by Steven Fackler to security@postgresql.org. Neither me or Stevenare sure what harm a malicious server could do with this, but let's fix it.1 parentd951db2 commit1c9b6e8
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
430 | 430 |
| |
431 | 431 |
| |
432 | 432 |
| |
433 |
| - | |
| 433 | + | |
| 434 | + | |
434 | 435 |
| |
435 | 436 |
| |
436 | 437 |
| |
|
0 commit comments
Comments
(0)