Medium, CVSS 6.8npmPublished
@novu/application-generic: validateUrlSsrf permits CGNAT (100.64.0.0/10) destinations — affects Workflow HTTP request step + Webhook filter condition
GHSA-vg6v-j97m-h5xq
- Affected
- npm @novu/application-generic < 3.17.0
- Fixed in
- 3.17.0· Vendor fix available
- Issue
- Hi Novu team, Reporting an SSRF blocklist gap in the shared validateUrlSsrf guard. A complete self-contained reproduction is inlined below — copy the four files into a directory and run docker compose up, plus a single-file probe that runs against Node directly. Locally validated against HEAD 291817c. Summary Novu's shared SSRF guard validateUrlSsrf(url) is used before server-side requests to user-configured URLs. The guard resolves hostnames and blocks a regex list of private/reserved IP ranges, but it does not block 100.64.0.0/10 shared address space. As a result, Novu features protected by this guard can still send server-side requests to destinations such as 100.100.100.200 (Alibaba Cloud metadata service) and any other service reachable in 100.64.0.0/10. Affected code Guard: - libs/application-generic/src/utils/ssrf-url-validation.ts - isPrivateIp(...) regex list at lines 9-28 - DNS resolution and address validation at lines 55-72 Product call-sites: - Workflow HTTP request…
Recommended action: Upgrade to 3.17.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.