Project

General

Profile

Actions

Bug #3850

closed
PA JI

Invalid state for JsonBuilder with metadata signature keyword

Bug #3850: Invalid state for JsonBuilder with metadata signature keyword

Added by Philippe Antoine over 5 years ago. Updated over 5 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

PA Updated by Philippe Antoine over 5 years ago Actions #1

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

Gitlab PR

VJ Updated by Victor Julien over 5 years ago Actions #2

  • Assignee set to Philippe Antoine
  • Target version set to 6.0.0rc1

VJ Updated by Victor Julien over 5 years ago Actions #4

  • 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: PDF Atom