This is an umbrella issue for fuzz tests in Zenoh
We decided to use cargo-fuzz to test the Zenoh protocol, and we will list all the related PRs and the found vulnerabilities here.
To add the fuzz framework
CI
Found issues
Zenoh
- The mismatch of encode and decode:
- Unchecked length bug:
- Endpoint parsing
zenoh-pico
- Bug in scouting messages handler
- Bug in endpoint_str
This is an umbrella issue for fuzz tests in Zenoh
We decided to use cargo-fuzz to test the Zenoh protocol, and we will list all the related PRs and the found vulnerabilities here.
To add the fuzz framework
run fuzz-test in zenoh-pico (Run with libFuzzer)
Test with qemu (Run with AFL++)
CI
Found issues
Zenoh
WireExprTypewhile mapping = Sender#in the hello message. In the PR, we don't accept any locator with#ext_id, length, encoding, payloadVec<u8>/ String decoder.zenoh-pico
=will end in an infinite loop#is before?because of the wrong calculation on the offsettcp/127.0.0.1:7447?invalid