Project

General

Profile

Actions

Bug #3850

closed

Invalid state for JsonBuilder with metadata signature keyword

Added by Philippe Antoine over 4 years ago. Updated about 4 years ago.

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

Description

Found by oss-fuzz :
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24511

Reproducer is
alert http any any -> any any ( metadata:*n— ; with 0xD1 character in metadata

so jb_open_array fails and its return code is not checked in CraftPreformattedJSON

Buf introduced by commit https://github.com/OISF/suricata/pull/5242/commits/a8e2399ea9aea93166fb9d5280dda47882b291ef

Actions

Also available in: Atom PDF