Bug 2230708 (TRIAGE-CVE-2023-39976)

Summary: TRIAGE-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    
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]