pgjdbc GSS encryption accepts replayed packets and can stop encrypting
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| pgjdbc | pgjdbc | unaffected |
|
No data.
No data.
No data available yet.
Vendor Solution
Upgrade to pgjdbc 42.7.15 or later.
Vendor Workaround
Set gssEncMode=disable and use TLS for transport encryption instead.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | pgjdbc, the PostgreSQL JDBC Driver, does not check the token state that GSSContext.unwrap() reports on a GSS-encrypted connection. An attacker on the network path can replay an earlier server packet from the same connection, and the driver accepts it as the answer to the current query. The driver also shares one MessageProp between reading and writing. One integrity-only packet from the server then makes the driver send later SQL and parameters without encryption. Only connections with gssEncMode=prefer or require that start GSS encryption are affected. Versions 42.2.15 through 42.7.14 are affected, and 42.7.15 fixes the problem. | |
| Title | pgjdbc GSS encryption accepts replayed packets and can stop encrypting | |
| Weaknesses | CWE-294 CWE-319 |
|
| References |
| |
| Metrics |
cvssV3_1
|
No data.