Bug 2230708 (CVE-2023-39976)

Summary: CVE-2023-39976 libqb: Buffer overflow in log_blackbox.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ccaulfie, cluster-maint, jfriesse, kgaillot
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libqb 2.0.8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2230709, 2230711, 2230712, 2236168, 2236169, 2236170, 2236171, 2236172    
Bug Blocks: 2230710    

Description Pedro Sampaio 2023-08-09 20:36:22 UTC
log_blackbox.c in libqb before 2.0.8 allows a buffer overflow via long log messages because the header size is not considered.

References:

https://github.com/ClusterLabs/libqb/pull/490
https://github.com/ClusterLabs/libqb/commit/1bbaa929b77113532785c408dd1b41cd0521ffc8
https://github.com/ClusterLabs/libqb/compare/v2.0.7...v2.0.8

Comment 1 Pedro Sampaio 2023-08-09 20:36:38 UTC
Created libqb tracking bugs for this issue:

Affects: fedora-all [bug 2230709]

Comment 5 errata-xmlrpc 2023-10-10 15:32:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Extended Update Support

Via RHSA-2023:5597 https://access.redhat.com/errata/RHSA-2023:5597

Comment 6 errata-xmlrpc 2023-11-07 08:19:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:6578 https://access.redhat.com/errata/RHSA-2023:6578

Comment 7 errata-xmlrpc 2023-11-21 11:18:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2023:7376 https://access.redhat.com/errata/RHSA-2023:7376