-
-
Notifications
You must be signed in to change notification settings - Fork 416
Closed
Description
I've got an input to reach unsigned integer overflow error in sldns/parseutil.c:272 in sldns_str2period function, that leads to incorrect conversation from string to uint32_t. Also, other arithmetic in this function can lead to unsigned integer overflow. I have not found any checks to prevent this error, is that alright?
Steps to reproduce the behavior:
- Build docker container for unbound from https://github.com/ispras/oss-sydr-fuzz/tree/master/projects/unbound
- Run docker container and execute
/unbound_fuzzers/fuzz_3_fuzzer overflow_input.txtwith this input:
overflow_input.txt - You will see something like this:
sldns/parseutil.c:272:7: runtime error: unsigned integer overflow: 440000633 * 10 cannot be represented in type 'unsigned int'
- Unbound version: 7749d98
- OS: ubuntu 20.04
Metadata
Metadata
Assignees
Labels
No labels