目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-107313— pgjdbc在GSS加密连接中存储早期消息字节

一分钟漏洞结论

影响对象
pgjdbc pgjdbc
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

pgjdbc(PostgreSQL JDBC 驱动程序)版本 42.7.4 和 42.7.5 存在以下安全问题: 在使用 GSS 加密的连接上(当配置 gssEncMode 为 “prefer” 或 “require” 时),驱动程序可能会将 GSS 发送缓冲区中先前缓存的内容,错误地替换为值的前半部分,而服务器在接受该值时未报错。在 MIT Kerberos 环境下,该缓冲区大小为 16320 字节。因此,存储的值可能包含驱动程序在此之前在同一连接上发送的消息中的字节,例如 SQL 语句文本、其他参数以及同一批量

CVSS 4.2 · Medium

可能的 ATT&CK 技术 1 AI

T1005 · Data from Local System

影响版本矩阵 1

厂商产品 版本范围状态
pgjdbc pgjdbc 42.7.4< 42.7.6 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-107313 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
pgjdbc stores bytes of earlier messages in place of a large value on GSS-encrypted connections
来源: CVE Program / CVE List V5
Vulnerability Description
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.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
通过发送数据的信息暴露
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
pgjdbc pgjdbc 42.7.4 ~ 42.7.6 -

二、漏洞 CVE-2026-107313 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-107313 的情报信息

请登录查看更多情报信息。

CVE-2026-107313 补丁与修复 (2)

CVE-2026-107313 厂商安全公告 (1)

同批安全公告 · pgjdbc · 2026-10-07 · 共 3 条

CVE-2026-107314 5.9 MEDIUM pgjdbc 在 requireAuth 排除所有认证方法时未强制验证
CVE-2026-107315 5.3 MEDIUM pgjdbc 缓冲区填充漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-107313

暂无评论


发表评论