Project

General

Custom queries

Profile

Actions

Bug #4957

closed

SMTP assertion triggered

Added by Jeff Lucovsky almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
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 almost 3 years ago

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

Updated by Victor Julien over 2 years ago

  • Status changed from Assigned to Closed
  • Assignee changed from Jeff Lucovsky to Victor Julien
Actions #3

Updated by Victor Julien over 2 years ago

  • Affected Versions 5.0.8 added
  • Affected Versions deleted (6.0.4)
Actions

Also available in: Atom PDF