X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c9b8b9b9c78a77dd30b828914c8bee9fa8dcbb90..950e76c1dc342ffe79080c9ef911e841675b7b0b:/lib/controller/proxy.go diff --git a/lib/controller/proxy.go b/lib/controller/proxy.go index 47b8cb4711..26d1859ec8 100644 --- a/lib/controller/proxy.go +++ b/lib/controller/proxy.go @@ -45,6 +45,11 @@ var dropHeaders = map[string]bool{ // Content-Length depends on encoding. "Content-Length": true, + + // Defend against Rails vulnerability CVE-2023-22795 - + // we don't use this functionality anyway, so it costs us nothing. + // + "If-None-Match": true, } type ResponseFilter func(*http.Response, error) (*http.Response, error)