Katalog CVE

CVE-2026-107313

ŚrednieCVSS 4.2
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.14%

Percentyl 3 - wyżej niż 3% wszystkich znanych CVE

Streszczenie

Sterownik PostgreSQL JDBC Driver (pgjdbc) w wersjach 42.7.4 i 42.7.5 może wysłać poprzednią zawartość bufora wysyłania GSS zamiast pierwszej części wartości na połączeniu z szyfrowaniem GSS (gssEncMode=prefer lub require), a serwer zapisuje tę wartość bez błędu. Bufor ma 16320 bajtów w MIT Kerberos. Zapisana wartość zawiera wtedy bajty komunikatów wysłanych wcześniej na tym samym połączeniu, takich jak tekst SQL instrukcji, inne parametry i wcześniejsze wiersze tej samej partii, zamiast bajtów dostarczonych przez aplikację. Problem dotyczy wartości co najmniej tak długich jak bufor, gdy sterownik zapisuje je z tablicy bajtów. Wersje 42.7.3 i wcześniejsze nie są podatne, a 42.7.6 naprawia problem.

Ocena ryzyka

Atakujący może spowodować wyciek poufnych danych z wcześniejszych komunikatów na tym samym połączeniu, takich jak tekst zapytań SQL lub inne parametry, co może prowadzić do ujawnienia informacji. Ryzyko występuje tylko przy włączonym szyfrowaniu GSS (gssEncMode=prefer lub require).

Rekomendacja

Zaktualizuj sterownik PostgreSQL JDBC do wersji 42.7.6. Jeśli aktualizacja nie jest możliwa, rozważ ustawienie gssEncMode=allow lub disable, aby uniknąć problemu.

Powiązane podatności

Oryginalny opis (angielski, źródło NVD)

pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.4 and 42.7.5 can send the previous contents of the GSS send buffer in place of the first part of a value on a connection with GSS encryption (gssEncMode=prefer or require), and the server stores the value without an error. The buffer is 16320 bytes with MIT Kerberos. The stored value then holds bytes of the messages the driver sent just before it on the same connection, such as the statement's SQL text, its other parameters, and earlier rows of the same batch, instead of the bytes the application supplied. Values at least as long as the buffer are affected when the driver writes them from a byte array: bind parameters set with setString, setBytes, or a ByteStreamWriter, CopyIn.writeToCopy, and LargeObject.write. Most such writes fail with an ArrayIndexOutOfBoundsException instead. The default, gssEncMode=allow, does not start GSS encryption, and connections without GSS encryption are not affected. Versions 42.7.3 and earlier are not affected, and 42.7.6 fixes the problem.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS