Project

General

Profile

Actions

Security #7280

closed

dns: quadratic complexity in logging and invalid json as output

Added by Philippe Antoine 10 months ago. Updated 19 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Label:
Git IDs:

3a5671739f5b25e5dd973a74ca5fd8ea40e1ae2d
37f4c52b22fcdde4adf9b479cb5700f89d00768d
19cf0f81335d9f787d587450f7105ad95a648951

Severity:
HIGH
Disclosure Date:

Description

Running /src/suricata -l log -c suricata.yaml -k none -r poc2.pcap --disable-detection yields an invalid json as if a append_String was not complete

123456789abcdef123456789abcdef.123456789abc{"timestamp"


Files

poc.py (755 Bytes) poc.py Philippe Antoine, 09/26/2024 09:39 AM
pocs.py (437 Bytes) pocs.py Philippe Antoine, 09/26/2024 09:39 AM
poc2.pcap (17.3 KB) poc2.pcap Philippe Antoine, 09/26/2024 09:40 AM
poc.pcapng (64.2 KB) poc.pcapng Philippe Antoine, 09/26/2024 01:29 PM

Subtasks 3 (0 open3 closed)

Bug #7300: output: oversized records lead to invalid jsonClosedJason IshActions
Bug #7301: output: oversized records lead to invalid json (7.0.x backport)ClosedJason IshActions
Security #7405: dns: quadratic complexity in logging and invalid json as output (7.0.x backport)ClosedJason IshActions

Related issues 1 (1 open0 closed)

Blocks Suricata - Optimization #7430: dns: parse more than 255 name segments to find end of nameAssignedJason IshActions
Actions

Also available in: Atom PDF