Actions
Bug #6964
closed
SB
SB
base64: consumed bytes are incorrectly set for different modes
Bug #6964:
base64: consumed bytes are incorrectly set for different modes
Affected Versions:
Effort:
Difficulty:
Label:
Description
For example, given a string 0YPhA d H and an ample buffer size, consumed bytes should be 4 in RFC2045 mode as there are only 3 valid bytes post 0YPh and that isn't enough to decode. Actually, looking further, it seems we want to decode all the bytes that we can as long as there is ample destination space but only for RFC 4648.
SB Updated by Shivani Bhardwaj almost 2 years ago
- Description updated (diff)
SB Updated by Shivani Bhardwaj almost 2 years ago
- Description updated (diff)
SB Updated by Shivani Bhardwaj almost 2 years ago
- Status changed from Assigned to In Review
In Review PR: https://github.com/OISF/suricata/pull/10892
SB Updated by Shivani Bhardwaj almost 2 years ago
- Blocks Task #6050: base64: make a fuzz target added
SB Updated by Shivani Bhardwaj almost 2 years ago
- Status changed from In Review to Closed
Closed by: https://github.com/OISF/suricata/pull/10941
PA Updated by Philippe Antoine almost 2 years ago
- Related to Bug #7028: base64: heap buffer overflow in RFC 2045 and 4648 modes added
Actions