Project

General

Profile

Actions

Bug #4956

closed

SMTP assertion triggered

Added by Jeff Lucovsky about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Getting
Assertion failed: (!((state->curr_tx == ((void*)0)))), function SMTPTransactionComplete, file app-layer-smtp.c, line 887.

Reproducer is suricata -r lola.pcap -c suricata.yaml -k none
Need to craft a Suricata-verify test out of this
The pcap comes from S-V test smtp-rset
+ fuzzpcap tcptofpc.py
+ easy hex editing to have multiple RSET in one packet
+ add a packet starting a command but not ending it (ie no end of line)
+ easy hex editing to have multiple 250 in different packets
+ fuzzpcap back to pcap

Found by CIFuzz in https://github.com/OISF/suricata/pull/6751
Not found by oss-fuzz even if it seems reachable by fuzz_sigpcap_aware...


Files

lola.pcap (1.9 KB) lola.pcap Philippe Antoine, 01/11/2022 07:38 PM

Related issues 1 (0 open1 closed)

Copied from Suricata - Bug #4948: SMTP assertion triggeredClosedActions
Actions #1

Updated by Jeff Lucovsky about 2 years ago

  • Copied from Bug #4948: SMTP assertion triggered added
Actions #2

Updated by Shivani Bhardwaj almost 2 years ago

  • Status changed from Assigned to In Progress
Actions #3

Updated by Shivani Bhardwaj almost 2 years ago

  • Status changed from In Progress to In Review
Actions #4

Updated by Shivani Bhardwaj almost 2 years ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF