[BUG] main thread panic #210
Labels
blue
bug
Something isn't working
needs-research
needs-triage
This issue or PR still needs to be triaged.
Describe the bug
One of my fuzzers found that when the user supplies crafted inputs to the cfn-guard parser, the application would crash.
To Reproduce
Please supply:
crash.guard
please note that
crash.guard
should not have\n
at the end, the easiest way to create it is to run the following command:echo "IiI+L1w=" | base64 -d > crash.guard
template.json
cat template.json | RUST_BACKTRACE=1 cfn-guard validate -r crash.guard
Expected behavior
It is expected to get parsing error.
Operating System:
Ubuntu 20.04, AmazonLinux 2.
The text was updated successfully, but these errors were encountered: