Project

General

Profile

Actions

Bug #7996

closed
SB SB

Bug #7887: detect/tls: zero characters in keywords such as alt name are mishandled

tls: certificate SAN is freed in case of any error

Bug #7996: tls: certificate SAN is freed in case of any error

Added by Shivani Bhardwaj 6 months ago. Updated 5 months ago.

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

Description

The connp object must retain all certificate params that have been parsed successfully for a match later on. In case of an error during decoding/parsing SAN are freed from connp. This works so far because it is the last field to be parsed and if it errors out, it does not exist anyway. However, this leaves room for memory errors.


Subtasks 1 (0 open1 closed)

Bug #8020: tls: certificate SAN is freed in case of any error (8.0.x backport)ClosedShivani BhardwajActions

SB Updated by Shivani Bhardwaj 6 months ago Actions #1

  • Private changed from Yes to No

SB Updated by Shivani Bhardwaj 6 months ago Actions #2

  • Difficulty set to low

SB Updated by Shivani Bhardwaj 6 months ago Actions #3

  • Status changed from Assigned to Closed

SB Updated by Shivani Bhardwaj 6 months ago Actions #4

  • Status changed from Closed to Resolved
  • Label Needs backport to 8.0 added

OT Updated by OISF Ticketbot 6 months ago Actions #5

  • Subtask #8020 added

OT Updated by OISF Ticketbot 6 months ago Actions #6

  • Label deleted (Needs backport to 8.0)

SB Updated by Shivani Bhardwaj 5 months ago Actions #7

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom