Upgrade to CodeIndexer v0.12.0 or later. No alternative workaround is documented.
First fixed version: v0.12.0. Recommended upgrade: v0.12.0 or later, which includes the fixes for every advisory currently published in this collection.
v0.12.0 adds a Host allowlist as the outermost layer of the HTTP router. Loopback names and IP-address literals are always accepted, names listed in the allowed_hosts setting are accepted, and requests naming any other host are refused with HTTP 421 (Misdirected Request). If you reach the server through a custom host name, add that name to allowed_hosts after upgrading.