Dhananjay Purohit's avatar
Dhananjay Purohit
dhananjay@ngx-l402.org
npub1qnw2...9r6h
โš ๏ธ Security update for ngx-l402 users The official Docker image (ghcr.io/ngx-l402/ngx-l402) up to v1.3.2 ships nginx 1.28.0 with HTTP/2 on port 8000. nginx 1.28 gets no fix for CVE-2026-123007, a heap overflow in nginx's HTTP/2 flow control that any client can trigger before the paywall runs. It can crash nginx workers and, in the worst case, allow remote code execution. v1.4.0 also covers CVE-2026-123633, a use-after-free when nginx proxies HTTP/2. ๐Ÿ” The ngx-l402 module code itself isn't affected; the problem is the nginx the image ships. What to do: ๐Ÿณ Docker: docker pull ghcr.io/ngx-l402/ngx-l402:1.4.0 and restart. docker exec <container> nginx -v should print 1.30.7. ๐Ÿ› ๏ธ Your own nginx: upgrade to 1.30.7+ or 1.31.9+ and use the matching module build. We no longer publish 1.28 and 1.29 builds, and the module now logs a warning at startup when it's loaded into an nginx without the fixes. ๐Ÿ›ก๏ธ Can't update right away: don't expose port 8000 to untrusted networks, or set http2 off; if you don't use gRPC. โœจ Also in v1.4.0: on nginx 1.30+, l402_payment_html off routes answer HTTP/1.1 clients again, and HEAD responses no longer carry a body. ๐Ÿค– And there's l402_mcp, which puts ngx-l402 in front of an MCP server and charges per tool call over Lightning โšก ๐Ÿ”’ Advisory: ๐Ÿ“ฆ Release: ๐ŸŒ Repo on Nostr: ๐Ÿ™ Thanks to Talip (https://github.com/otaliptus) and Red Team for the report. #bitcoin #lightning #L402 #nostr
ngx-l402 v1.3.2 is out โ€” a security release. Lightning paywalls for nginx, self-hosted and non-custodial. In Cashu P2PK mode a proof whose lock could lapse before redemption was accepted โ€” an expired locktime with no refund tag is spendable by anyone under NUT-11. Any locktime is now refused. CASHU_P2PK_MODE only. Reported by Nuhiat-Arefin (https://github.com/Nuhiat-Arefin), thank you. Also in this release: - l402_tenant โ€” name a tenant once at http level, reference it per location with l402_tenant_ref - a nested `l402 off` now turns the paywall off under a paid parent - a Blossom/Nostr `Authorization` header is no longer read as a failed L402 credential, so it gets the 402 challenge - tenant config errors name the file and line; cargo audit clean docker pull ghcr.io/ngx-l402/ngx-l402:1.3.2 Thanks @thesvn @ritik
โ†‘