Project

General

Profile

Actions

Bug #3850

closed

Invalid state for JsonBuilder with metadata signature keyword

Added by Philippe Antoine almost 4 years ago. Updated over 3 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 #1

Updated by Philippe Antoine almost 4 years ago

  • Status changed from Assigned to In Review
  • Affected Versions 6.0.0beta1 added

Gitlab PR

Actions #2

Updated by Victor Julien almost 4 years ago

  • Assignee set to Philippe Antoine
  • Target version set to 6.0.0rc1
Actions #4

Updated by Victor Julien over 3 years ago

  • Status changed from In Review to Closed
  • Assignee changed from Philippe Antoine to Jason Ish
  • Private changed from Yes to No
Actions

Also available in: Atom PDF