Actions
Bug #5057
closed
JL
SB
dns: probing/parser can return error when it should return incomplete
Bug #5057:
dns: probing/parser can return error when it should return incomplete
Affected Versions:
Effort:
Difficulty:
Label:
Description
The hostname parsing in the DNS parser will return an error when it runs out of data instead of incomplete. This can result in a specially crafted DNS payload not being detected as DNS.
Suricata-Verify test showing DNS stream being picked up as ENIP:
https://github.com/OISF/suricata-verify/pull/676
Fix with master (nom7) is trivially done by moving error handling to the question mark operator. Its likely the same is true for 5.0.x and 6.0.x. This will probably ripple up incomplete or error up the parse chain.
JL Updated by Jeff Lucovsky about 4 years ago
- Copied from Bug #5034: dns: probing/parser can return error when it should return incomplete added
SB Updated by Shivani Bhardwaj almost 4 years ago
- Status changed from Assigned to In Progress
JI Updated by Jason Ish almost 4 years ago
- Status changed from In Progress to In Review
SB Updated by Shivani Bhardwaj almost 4 years ago
- Status changed from In Review to Resolved
SB Updated by Shivani Bhardwaj almost 4 years ago
- Status changed from Resolved to Closed
VJ Updated by Victor Julien over 3 years ago
- Private changed from Yes to No
Actions