OSV 1.4.0 · github-reviewed · 修改于 2026-07-21 05:18
发布时间
2026-06-06 00:19
GitHub 审查时间
2026-06-06 00:19
NVD 发布时间
2026-06-24 05:17
源文件
advisories/github-reviewed/2026/06/GHSA-w43h-r5m5-p832/GHSA-w43h-r5m5-p832.json
The connection-test endpoint opened a raw TCP socket to the user-supplied database
host without resolving and range-checking the destination, so private and link-local
addresses (including IPv4-mapped IPv6 forms and localhost) reached the driver.
A new validateDbConnectionHost helper resolves hostnames through DNS, parses each
address with ipaddr.js, normalises IPv4-mapped IPv6, and rejects addresses in the
private, loopback, link-local, unique-local, reserved, unspecified, broadcast, and
carrier-grade-NAT ranges. 0.0.0.0, ::, and the literal localhost are special-cased.
The check runs before the existing SSL block in the connection-test controller and
gates the driver invocation.
Authenticated users with connection-test permission could probe internal services (Redis, the cloud metadata endpoint, internal databases) reachable from the NocoDB process. A DNS rebinding attacker could still race the resolve-vs-connect window.
This issue was reported by @helwor-01.