Repository navigation
Releases
v0.6.3
Security
GHSA-4v7q-753g-p98h (high): a policy that the admission webhook accepted but the engine could not compile made engines refuse the whole bundle, so other tenants' policy changes stopped reaching them. The operator now checks every policy the way the engine compiles it, with the rule sets the bundle ships, and leaves out a policy that does not compile, with InvalidSpec or RuleSetsIncompatible in its status. Upgrade if users you do not fully trust can create WAFPolicy or WAFRuleSet objects.
GHSA-w6pv-4769-xr6f (high): with body.grpcMessages: Inspect, deeply nested protobuf groups took CPU that grew with the square of their depth, outside the evaluation timeout. Groups are now read in linear time, inside the evaluation slots and deadline.
GHSA-vg43-8vv5-x822 (medium): with body.grpcMessages: Inspect, a field whose bytes also parse as a nested message had its own text left unchecked. Its whole text is now checked too. Reading gRPC messages costs more CPU per message.
Changelog
Bug fixes
- fix: leave out policies the engine can't compile, and harden gRPC message reading, for 0.6.3 (#864)
Install
helm install inkwall oci://ghcr.io/inkwall-dev/charts/inkwall --version 0.6.3 \
--namespace inkwall-system --create-namespaceImages: ghcr.io/inkwall-dev/inkwall-engine:0.6.3, ghcr.io/inkwall-dev/inkwall-operator:0.6.3
(linux/amd64, linux/arm64), signed with cosign, with SBOM and provenance attestations.
v0.5.6
Security
GHSA-4v7q-753g-p98h (high): a policy that the admission webhook accepted but the engine could not compile made engines refuse the whole bundle, so other tenants' policy changes stopped reaching them. The operator now checks every policy the way the engine compiles it, with the rule sets the bundle ships, and leaves out a policy that does not compile, with InvalidSpec or RuleSetsIncompatible in its status. Upgrade if users you do not fully trust can create WAFPolicy or WAFRuleSet objects.
GHSA-w6pv-4769-xr6f (high): with body.grpcMessages: Inspect, deeply nested protobuf groups took CPU that grew with the square of their depth, outside the evaluation timeout. Groups are now read in linear time, inside the evaluation slots and deadline.
GHSA-vg43-8vv5-x822 (medium): with body.grpcMessages: Inspect, a field whose bytes also parse as a nested message had its own text left unchecked. Its whole text is now checked too. Reading gRPC messages costs more CPU per message.
Changelog
Bug fixes
- fix: leave out policies the engine can't compile, and harden gRPC message reading, for 0.5.6 (#865)
Install
helm install inkwall oci://ghcr.io/inkwall-dev/charts/inkwall --version 0.5.6 \
--namespace inkwall-system --create-namespaceImages: ghcr.io/inkwall-dev/inkwall-engine:0.5.6, ghcr.io/inkwall-dev/inkwall-operator:0.5.6
(linux/amd64, linux/arm64), signed with cosign, with SBOM and provenance attestations.
v0.4.5
Security
GHSA-4v7q-753g-p98h (high): a policy that the admission webhook accepted but the engine could not compile made engines refuse the whole bundle, so other tenants' policy changes stopped reaching them. The operator now checks every policy the way the engine compiles it, with the rule sets the bundle ships, and leaves out a policy that does not compile, with InvalidSpec or RuleSetsIncompatible in its status. Upgrade if users you do not fully trust can create WAFPolicy or WAFRuleSet objects.
GHSA-w6pv-4769-xr6f (high): with body.grpcMessages: Inspect, deeply nested protobuf groups took CPU that grew with the square of their depth, outside the evaluation timeout. Groups are now read in linear time, inside the evaluation slots and deadline.
GHSA-vg43-8vv5-x822 (medium): with body.grpcMessages: Inspect, a field whose bytes also parse as a nested message had its own text left unchecked. Its whole text is now checked too. Reading gRPC messages costs more CPU per message.
Changelog
Bug fixes
- fix: leave out policies the engine can't compile, and harden gRPC message reading, for 0.4.5 (#866)
Install
helm install inkwall oci://ghcr.io/inkwall-dev/charts/inkwall --version 0.4.5 \
--namespace inkwall-system --create-namespaceImages: ghcr.io/inkwall-dev/inkwall-engine:0.4.5, ghcr.io/inkwall-dev/inkwall-operator:0.4.5
(linux/amd64, linux/arm64), signed with cosign, with SBOM and provenance attestations.
v0.6.2
Security
GHSA-78c8-6gh2-87hw (medium): with body.grpcMessages: Inspect, gRPC message fields encoded as groups (proto2 group fields, editions DELIMITED fields) were not read, so their text never reached the rules. This release reads groups like nested messages. Upgrade if your gRPC services declare groups or DELIMITED fields; policies without grpcMessages: Inspect are not affected.
Changelog
Bug fixes
- fix(engine): read protobuf groups in gRPC messages for 0.6.2 (#817)
Install
helm install inkwall oci://ghcr.io/inkwall-dev/charts/inkwall --version 0.6.2 \
--namespace inkwall-system --create-namespaceImages: ghcr.io/inkwall-dev/inkwall-engine:0.6.2, ghcr.io/inkwall-dev/inkwall-operator:0.6.2
(linux/amd64, linux/arm64), signed with cosign, with SBOM and provenance attestations.
v0.5.5
Security
GHSA-78c8-6gh2-87hw (medium): with body.grpcMessages: Inspect, gRPC message fields encoded as groups (proto2 group fields, editions DELIMITED fields) were not read, so their text never reached the rules. This release reads groups like nested messages. Upgrade if your gRPC services declare groups or DELIMITED fields; policies without grpcMessages: Inspect are not affected.
Changelog
Bug fixes
- fix(engine): read protobuf groups in gRPC messages for 0.5.5 (#818)
Install
helm install inkwall oci://ghcr.io/inkwall-dev/charts/inkwall --version 0.5.5 \
--namespace inkwall-system --create-namespaceImages: ghcr.io/inkwall-dev/inkwall-engine:0.5.5, ghcr.io/inkwall-dev/inkwall-operator:0.5.5
(linux/amd64, linux/arm64), signed with cosign, with SBOM and provenance attestations.
v0.4.4
Security
GHSA-78c8-6gh2-87hw (medium): with body.grpcMessages: Inspect, gRPC message fields encoded as groups (proto2 group fields, editions DELIMITED fields) were not read, so their text never reached the rules. This release reads groups like nested messages. Upgrade if your gRPC services declare groups or DELIMITED fields; policies without grpcMessages: Inspect are not affected.
Changelog
Bug fixes
- fix(engine): read protobuf groups in gRPC messages for 0.4.4 (#819)
Install
helm install inkwall oci://ghcr.io/inkwall-dev/charts/inkwall --version 0.4.4 \
--namespace inkwall-system --create-namespaceImages: ghcr.io/inkwall-dev/inkwall-engine:0.4.4, ghcr.io/inkwall-dev/inkwall-operator:0.4.4
(linux/amd64, linux/arm64), signed with cosign, with SBOM and provenance attestations.
v0.6.1
Security
- Medium: Traefik before v3.7 forwards h2c upgrades: requests on the upgraded connection reach the app uninspected (GHSA-r678-m82v-mwxw). Traefik v3.0 to v3.6 passes
Upgrade: h2cto the app; an app that accepts it serves the requests sent on that connection past ForwardAuth, so the engine never sees them. Upgrade Traefik to v3.7 or later. From 0.6.1, a policy whose routes such a Traefik serves says so in itsProgrammedmessage, and the README and the WebSocket guide require Traefik v3.7 or later.
Fixed
Enforcedwaits for every engine of raw Envoy and the standalone proxy. The operator doesn't know these proxies' pods, so it counted only the engines connected at the time: an engine that was reconnecting, or cut off from the operator, still ran the policy's previous version while the policy claimedEnforced. Now an engine that disconnected holds the policy atEnginesBehindwhile its pod exists, until it reconnects and runs the current version (an engine that reports no pod, for 2 minutes). Integrations whose pods the operator knows (Traefik, Envoy Gateway, Istio, HAProxy) were not affected.- A rule set whose last
SecRuleends in an openchainis refused (RuleCompileError) instead of compiling with the chain's parent acting alone. - A panic while reading one proxy connection no longer stops the engine: the connection fails (gRPC
Internalfor ext_proc), andinkwall_panics_total{component}counts it. - Server-Sent Events: the first event of a stream that starts with a byte order mark is inspected.
inkwallctl statusshows that responses are inspected through Istio and HAProxy.- Documentation: 23 statements that didn't match the code, fixed.
Upgrading
0.6.1 is a patch release with no API change: upgrade the chart as for 0.6.0, and restart the proxies whose pods run the engine so they get the 0.6.1 engine, or let spec.engine.rollout: Automatic do it. If you run Traefik before v3.7, upgrade it and its CRDs to v3.7 or later.
Supported versions: 0.6, 0.5 and 0.4 get fixes (SECURITY.md).
Install
helm install inkwall oci://ghcr.io/inkwall-dev/charts/inkwall --version 0.6.1 \
--namespace inkwall-system --create-namespaceImages: ghcr.io/inkwall-dev/inkwall-engine:0.6.1, ghcr.io/inkwall-dev/inkwall-operator:0.6.1
(linux/amd64, linux/arm64), signed with cosign, with SBOM and provenance attestations.
v0.6.1-rc.1
Changelog
Bug fixes
- fix: the post-0.6.0 fixes on release-0.6 for 0.6.1 (#698)
Install
helm install inkwall oci://ghcr.io/inkwall-dev/charts/inkwall --version 0.6.1-rc.1 \
--namespace inkwall-system --create-namespaceImages: ghcr.io/inkwall-dev/inkwall-engine:0.6.1-rc.1, ghcr.io/inkwall-dev/inkwall-operator:0.6.1-rc.1
(linux/amd64, linux/arm64), signed with cosign, with SBOM and provenance attestations.
v0.6.0
Highlights
- Responses through HAProxy (#469, #470). A policy with
responses.inspectnow has the responses of its HAProxy Kubernetes Ingress Controller Ingresses inspected, as through Envoy Gateway and Istio: the operator injects the engine with--response-messagesand adds the response rules to each Ingress's backend snippet; they wereResponsesNotInspectedin 0.5.x. An HAProxy you configure yourself gets the same withinkwall-engine spoe --inspect-responsesand the newinkwall-responseSPOE group ofexamples/haproxy/spoe.confandhaproxy.cfg(protecting HAProxy). A response that leaks is replaced with 403 inBlockmode and logged inDetectmode. - Streamed responses, event by event (#323), opt-in.
responses: {inspect: true, streams: Inspect}inspects each Server-Sent Event and each message of a gRPC response on its own, through Envoy Gateway and Istio (raw Envoy:--response-streams inspect), instead of letting their bodies pass with only the status and headers inspected; inBlockmode a leaking event ends the stream, and the client keeps the events before it. The standalone proxy inspects responses too (inkwall-engine proxy --inspect-responses, and--response-streams inspectfor streams), bounded by--max-held-response-bytes(Responses). Traefik's ForwardAuth never sends the engine a response, and won't: route such traffic through another proxy, or put the standalone engine in front of the app (why). - gRPC (gRPC):
- Long streams, one message at a time (#315), opt-in. With
body.grpcMessages: Inspect,body.grpcStreams: PerMessagehas each message of a call inspected as it arrives, through Envoy Gateway, Istio and raw Envoy (--grpc-streams per-message), so long client streams and bidirectional calls work inBlockmode; a denied message ends the call with its gRPC status. The messages before a denied one have already reached the application, which is whyBufferstays the default. - Server messages (#317). With streamed responses inspected, what a gRPC server sends back is inspected per message, and its status message (
grpc-message, where a server's error text goes) as one more event: a SQL error leaked there is replaced by the denial, or ends the call when it comes in the trailers.
- Long streams, one message at a time (#315), opt-in. With
- Status proves what it claims (the operator's probe):
- The probe proves responses (#595). For a policy with
responses.inspect, the operator's probe now also proves that each route's responses reach the engine, through every Istio gateway pod and every HAProxy controller pod: a second request per pod and listener (the response leg). Until it has, the policy isUnverified; where a pod's engine doesn't see the responses,ResponsesNotInspected, naming the pod. Detect-mode Istio routes areProgrammed(#475). Envoy discards the engine's answer to the probe inDetectmode, so those routes stayedUnverifiedin 0.5.x. The engine now keeps a receipt of each probe it verified and reports it to the operator, which proves the route by it.
- The probe proves responses (#595). For a policy with
- Answers, not only status:
inkwallctl explain(#438):explain policy <namespace>/<name>gives the cause and the fix of each condition that isn'tTrue;explain request <request-id>(theX-Request-Idof a denial) lists the rules that matched with their CRS descriptions, the score against the threshold, and the narrowest exclusion, checked asinkwallctl test --policydoes.-o jsonfor scripts (Explaining a policy or a denial).- A read-only MCP server (#439):
inkwallctl mcpserves those answers to an AI assistant (Claude Code, Cursor, VS Code, ...) over the Model Context Protocol:status,explain_policy,explain_request,test_policy,suggest_exclusions,list_policies,get_policy, and this version's docs. The assistant starts it on your machine with your kubeconfig; it never writes to the cluster, and nothing is hosted (Using Inkwall from an AI assistant).
- Traefik is as fast as the other proxies (#625, #626). Traefik's ForwardAuth allocated its
maxBodySize(10 MiB) for every request, body or not, which added about 8 ms at p50. On Traefik v3.7 and later the operator'sinkwall-wafMiddleware is now achain:inkwall-waf-body, a Buffering Middleware that bounds request bodies (10 MiB + 1, in memory; responses aren't buffered), theninkwall-waf-auth, the ForwardAuth, with no body limit of its own. Routes keep referring toinkwall-waf, the engine inspects the same requests, and Traefik now adds about 1.3 ms at p50 (Tested). Before Traefik v3.7, the Middleware stays as it was. - Rule sets before the CRS (#423). A rule set binding takes
placement: BeforeCRS: the rule set loads before the CRS's initialization, as the standalone engine's--rules-before-crs, so itssetvar:tx.…andctl:ruleRemoveByIdrules change what the CRS does, on conditions of their own (README). - The operator's metrics over HTTPS (#430), opt-in:
metrics.secure.enabled=trueserves/metricsover HTTPS only to bearer tokens the API server authenticates and authorizes forgeton/metrics(the newinkwall-operator-metrics-readerClusterRole); a rejected token gets 401 (#562) (Metrics over HTTPS). - HAProxy: bodies over an SPOE frame are handled as oversized (#336). HAProxy sends each request and response to the engine in one frame and sends none of one that doesn't fit. For
Block-mode policies, the operator's backend snippet answers such a request with 413 and replaces such a response with 502, asbody.onOversizeandresponses.onOversizesay (0.5.2 did it for requests).Programmed's note on HAProxy's buffer also names aresponses.maxByteslarger than it, and Bodies gives the memory a largertune.bufsizecosts. WAFIPListin Managed mode (#577). A control plane can deliver the IP lists its policies name in a policy snapshot, written and pruned like the other kinds and labelledinkwall.dev/source: saas, and the cluster state lists everyWAFIPList(Managed mode).- The Go memory limit from the container's cgroup (#537). The engine and the operator set
GOMEMLIMITto 90% of the container's cgroup memory limit whenMEMORY_LIMITisn't set, so a standalone engine in a plain container (docker run --memory 256m) gets one too; theGo memory limit setlog line says where it came from (memory limit). - A pinned older engine starts (#536). With
InkwallConfig.spec.engine.imagepinned to an older release, the operator leaves out the flags that engine doesn't know, instead of injecting them and leaving its pod crash-looping; the newEngineConfiguredcondition and a Warning Event name the settings left out.
What each proxy inspects
| Requests | Bodies | Responses | Streamed responses (SSE, gRPC) | gRPC message text | gRPC streams per message | WebSocket handshake | WebSocket messages | |
|---|---|---|---|---|---|---|---|---|
| Traefik (ForwardAuth) | Yes | Yes | No (ResponsesNotInspected) |
No | Yes | No (buffered) | Yes | No |
| Envoy Gateway (ext_proc) | Yes | Yes | Yes (responses) |
Yes (streams: Inspect), new in 0.6.0 |
Yes | Yes (grpcStreams: PerMessage), new in 0.6.0 |
Yes | No |
| Raw Envoy (ext_proc) | Yes | Yes | Yes, when envoy.yaml sends them |
Yes (--response-streams inspect), new in 0.6.0 |
Yes | Yes (--grpc-streams per-message), new in 0.6.0 |
Yes | No |
| Istio (ext_proc) | Yes | Yes | Yes (responses) |
Yes (streams: Inspect), new in 0.6.0 |
Yes | Yes (grpcStreams: PerMessage), new in 0.6.0 |
Yes | No |
| HAProxy (SPOE) | Yes | Up to HAProxy's buffer (about 15 KiB unless you raise tune.bufsize); larger is oversized |
Yes (responses, or --inspect-responses by hand), up to HAProxy's buffer, new in 0.6.0 |
No (ResponsesNotInspected) |
Yes, within the body sent | No (buffered) | Yes | No |
inkwall-engine proxy |
Yes | Yes | Yes (--inspect-responses), new in 0.6.0 |
Yes (--response-streams inspect), new in 0.6.0 |
Yes, with --h2c or TLS for gRPC |
No (buffered) | Yes | Yes (--websocket-messages) |
A gRPC response's status message (grpc-message) is read through Envoy only. A proxy that can't do what a policy asks never pretends to: the policy's status says so.
Tested
The battle test of CONTRIBUTING.md (#600) ran on this release's code; its tools are in the repository, to run on your own machine and traffic.
False positives (make fp-run, #608). The recorded traffic of OWASP Juice Shop, an online shop with an Angular front end and a REST API: 560 requests from six scripted shoppers with six browsers' headers (register, log in, search, review, fill a basket, check out, send feedback, upload a complaint, change the password), with free text that is hard on a WAF. Ever...
v0.6.0-rc.1
Changelog
Features
- feat(engine): inspect gRPC request streams message by message through Envoy (opt-in grpcStreams: PerMessage) (#603)
- feat(engine): inspect gRPC server messages and their status message through Envoy (#613)
- feat(engine): inspect responses in the SPOE agent (#558)
- feat(engine): inspect streamed responses event by event through ext_proc (#592)
- feat(engine): take the Go memory limit from the container's cgroup when MEMORY_LIMIT isn't set (#569)
- feat(engine): the reverse proxy inspects responses (#590)
- feat(inkwallctl): an MCP server with read-only tools for AI assistants (#578)
- feat(inkwallctl): explain a denied request or a policy that isn't Ready (#560)
- feat(operator): inspect responses through the HAProxy Kubernetes Ingress Controller (#591)
- feat(operator): make HAProxy's oversize handling exact for bodies over its buffer (#602)
- feat(operator): prove Detect-mode Istio routes by the engine's probe receipts (#576)
- feat(operator): prove response inspection with the probe's response leg (#612)
- feat(operator): serve metrics over HTTPS with authentication and authorization (optional) (#561)
- feat(policy): let a rule set load before the CRS (placement: BeforeCRS) (#553)
- feat: WAFPolicy.spec.responses.streams, and the reverse proxy inspects streamed responses event by event (#601)
Bug fixes
- fix(adapters): keep the X-Forwarded-Host value out of the forward-auth invalid-request log (#623)
- fix(engine): a stream the proxy ends at a denied event no longer logs an error (#617)
- fix(engine): stream gRPC calls per message in bundle mode (grpcStreams: PerMessage) (#647)
- fix(operator): a control plane delivers and sees WAFIPList objects (#582)
- fix(operator): answer 401, not 500, to a rejected token on the secure metrics endpoint (#589)
- fix(operator): hold a policy's Enforced back while a serving pod's engine isn't connected (#653)
- fix(operator): inject only the engine flags a pinned engine's version knows (#575)
- fix: the vulnerabilities of the 0.6.0 security advisories (#668)
Performance
- perf(operator): stop Traefik allocating 10 MiB per request in ForwardAuth (#626)
Install
helm install inkwall oci://ghcr.io/inkwall-dev/charts/inkwall --version 0.6.0-rc.1 \
--namespace inkwall-system --create-namespaceImages: ghcr.io/inkwall-dev/inkwall-engine:0.6.0-rc.1, ghcr.io/inkwall-dev/inkwall-operator:0.6.0-rc.1
(linux/amd64, linux/arm64), signed with cosign, with SBOM and provenance attestations.