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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-58225— elixir-ecto postgrex SQL注入漏洞

AI 预测 7.5 利用难度: 较易 EPSS 0.16% · P6

可能的 ATT&CK 技术 1AI

T1499 · Endpoint Denial of Service

影响版本矩阵 2

厂商产品版本范围状态
elixir-ectopostgrex0.16.0< 0.22.3affected
266b530faf9bde094e31e0e4ab851f933fadc0f5< 795c6062f62c4394272ff4b89170688857b4f841affected
获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
SQL injection via unescaped dollar-quote in Postgrex.Notifications reconnect replay causes notification denial of service
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
SQL Injection vulnerability in elixir-ecto postgrex allows an attacker who can influence a LISTEN channel name to inject SQL into the reconnect replay query, causing a denial of service of the notification connection. Postgrex.Notifications sanitizes channel names with quote_channel/1, which doubles double quotes so the name is safe inside a double-quoted identifier. This protects the single-statement LISTEN and UNLISTEN paths. On every (re)connect, however, handle_connect/1 replays all registered channels at once by concatenating their LISTEN statements and wrapping them in a dollar-quoted anonymous code block (DO $$BEGIN ... END$$). quote_channel/1 does not escape the $$ dollar-quote delimiter that opens and closes this block. The listen/3 guards only reject null bytes and names longer than 63 bytes, so a channel name containing $$ passes validation unchanged. Once such a name is embedded, its $$ prematurely terminates the outer dollar-quoted string and PostgreSQL parses the remainder as additional top-level statements. Because handle_connect/1 runs on every (re)connect, the malformed replay query is rejected each time and the notification connection never re-establishes its subscriptions, silently dropping notifications for every channel sharing that connection. An application is affected when it passes untrusted input (for example a tenant or user identifier) as a channel name to Postgrex.Notifications.listen/3. The double-quote doubling prevents forming a fully valid injected statement, so arbitrary SQL execution is not possible, but the corrupted query reliably breaks the shared notification connection for all tenants, resulting in denial of service. This issue affects postgrex: from 0.16.0 before 0.22.3.
来源: 美国国家漏洞数据库 NVD
CVSS Information
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
来源: 美国国家漏洞数据库 NVD
Vulnerability Title
elixir-ecto postgrex SQL注入漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
elixir-ecto postgrex是elixir-ecto团队的数据库驱动程序。 elixir-ecto postgrex 0.16.0版本至0.22.3之前版本存在SQL注入漏洞,该漏洞源于对LISTEN通道名称的SQL注入,可能导致攻击者影响重新连接重放查询,造成通知连接拒绝服务。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
elixir-ectopostgrex 0.16.0 ~ 0.22.3 cpe:2.3:a:elixir-ecto:postgrex:*:*:*:*:*:*:*:*
elixir-ectopostgrex 266b530faf9bde094e31e0e4ab851f933fadc0f5 ~ 795c6062f62c4394272ff4b89170688857b4f841 cpe:2.3:a:elixir-ecto:postgrex:*:*:*:*:*:*:*:*

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2026-58225 补丁与修复 (1)

CVE-2026-58225 厂商安全公告 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2026-58225

暂无评论


发表评论