Skip to content

Releases

v0.6.3

Choose a tag to compare

@github-actions github-actions released this 23 Nov 18:51
v0.6.3
a4cc25e

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-namespace

Images: 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

Choose a tag to compare

@github-actions github-actions released this 23 Nov 18:52
v0.5.6
b638650

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-namespace

Images: 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

Choose a tag to compare

@github-actions github-actions released this 23 Nov 18:53
v0.4.5
bccda93

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-namespace

Images: 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

Choose a tag to compare

@github-actions github-actions released this 22 Nov 19:39
v0.6.2
f0d5d25

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-namespace

Images: 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

Choose a tag to compare

@github-actions github-actions released this 22 Nov 19:39
v0.5.5
05ef8ed

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-namespace

Images: 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

Choose a tag to compare

@github-actions github-actions released this 22 Nov 19:39
v0.4.4
f17a275

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-namespace

Images: 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

Choose a tag to compare

@github-actions github-actions released this 18 Nov 21:49
v0.6.1
665432e

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: h2c to 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 its Programmed message, and the README and the WebSocket guide require Traefik v3.7 or later.

Fixed

  • Enforced waits 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 claimed Enforced. Now an engine that disconnected holds the policy at EnginesBehind while 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 SecRule ends in an open chain is 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 Internal for ext_proc), and inkwall_panics_total{component} counts it.
  • Server-Sent Events: the first event of a stream that starts with a byte order mark is inspected.
  • inkwallctl status shows 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-namespace

Images: 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

v0.6.1-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Nov 21:19
v0.6.1-rc.1
665432e

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-namespace

Images: 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

Choose a tag to compare

@github-actions github-actions released this 17 Nov 22:55
v0.6.0
32a0961

Highlights

  • Responses through HAProxy (#469, #470). A policy with responses.inspect now has the responses of its HAProxy Kubernetes Ingress Controller Ingresses inspected, as through Envoy Gateway and Istio: the operator injects the engine with --response-messages and adds the response rules to each Ingress's backend snippet; they were ResponsesNotInspected in 0.5.x. An HAProxy you configure yourself gets the same with inkwall-engine spoe --inspect-responses and the new inkwall-response SPOE group of examples/haproxy/spoe.conf and haproxy.cfg (protecting HAProxy). A response that leaks is replaced with 403 in Block mode and logged in Detect mode.
  • 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; in Block mode 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 inspect for 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: PerMessage has 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 in Block mode; a denied message ends the call with its gRPC status. The messages before a denied one have already reached the application, which is why Buffer stays 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.
  • 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 is Unverified; where a pod's engine doesn't see the responses, ResponsesNotInspected, naming the pod.
    • Detect-mode Istio routes are Programmed (#475). Envoy discards the engine's answer to the probe in Detect mode, so those routes stayed Unverified in 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.
  • Answers, not only status:
    • inkwallctl explain (#438): explain policy <namespace>/<name> gives the cause and the fix of each condition that isn't True; explain request <request-id> (the X-Request-Id of a denial) lists the rules that matched with their CRS descriptions, the score against the threshold, and the narrowest exclusion, checked as inkwallctl test --policy does. -o json for scripts (Explaining a policy or a denial).
    • A read-only MCP server (#439): inkwallctl mcp serves 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's inkwall-waf Middleware is now a chain: inkwall-waf-body, a Buffering Middleware that bounds request bodies (10 MiB + 1, in memory; responses aren't buffered), then inkwall-waf-auth, the ForwardAuth, with no body limit of its own. Routes keep referring to inkwall-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 its setvar:tx.… and ctl:ruleRemoveById rules change what the CRS does, on conditions of their own (README).
  • The operator's metrics over HTTPS (#430), opt-in: metrics.secure.enabled=true serves /metrics over HTTPS only to bearer tokens the API server authenticates and authorizes for get on /metrics (the new inkwall-operator-metrics-reader ClusterRole); 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, as body.onOversize and responses.onOversize say (0.5.2 did it for requests). Programmed's note on HAProxy's buffer also names a responses.maxBytes larger than it, and Bodies gives the memory a larger tune.bufsize costs.
  • WAFIPList in 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 labelled inkwall.dev/source: saas, and the cluster state lists every WAFIPList (Managed mode).
  • The Go memory limit from the container's cgroup (#537). The engine and the operator set GOMEMLIMIT to 90% of the container's cgroup memory limit when MEMORY_LIMIT isn't set, so a standalone engine in a plain container (docker run --memory 256m) gets one too; the Go memory limit set log line says where it came from (memory limit).
  • A pinned older engine starts (#536). With InkwallConfig.spec.engine.image pinned 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 new EngineConfigured condition 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...

Read more

v0.6.0-rc.1

v0.6.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Nov 21:48
v0.6.0-rc.1
b46a0af

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-namespace

Images: 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.