Closed matusf closed 2 years ago
Closing as issue was likely in RC version when issue was reported. Retested in 1.10.5 without any issues:
curl -v -X POST -d '{"token":"𰏲𫘛ᒢ."}' ${VAULT_ADDR}/v1/auth/token/lookup
# < HTTP/2 403
# # // ...
# {"errors":["permission denied"]}
Thank you @matusf
Describe the bug Making a POST request on
/auth/token/lookup
with specific payload causes internal server errorTo Reproduce Hi, I was fuzzing vault and found this bug. To reproduce it, just run
vault server -dev
and make a request. The request is described in enclosed zip (single JSON file inside). The JSON has also thecurl
formated of the request, however, the request contains some wild unicode characters that your terminal may not like (at least mine does not :smile:). Therefore is better to use theresender
utility that I made (along with the fuzzer). You may find it in my repo (github.com/matusf/openapi-fuzzer), with all installation instructions. Basically just runopenapi-fuzzer-resender file.json
to make the request.auth-token-lookup.zip
See error from request:
"{\"errors\":[\"no namespace\"]}\n"
In logs:Expected behavior Response with non 500 status code.
Environment:
vault status
):vault version
):Vault v1.7.0-rc1 (9af08a1c5f0f855984a1fa56d236675d167f578e)