Bug 1219836 (CVE-2024-1062)

Summary: VUL-0: CVE-2024-1062: 389-ds: 389-ds-base: a heap overflow leading to denail-of-servce while writing a value larger than 256 chars (in log_entry_attr)
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: William Brown <william.brown>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: camila.matos, gianluca.gabrielli, santiago.zarate, smash_bz, stoyan.manolov, william.brown
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/392527/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-1062:5.5:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-02-12 14:09:04 UTC
A heap overflow flaw was found in 389-ds-base. This issue leads to a denial of service when writing a value larger than 256 chars in log_entry_attr.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-1062
https://bugzilla.redhat.com/show_bug.cgi?id=2261879
https://www.cve.org/CVERecord?id=CVE-2024-1062
https://access.redhat.com/security/cve/CVE-2024-1062
https://bugzilla.redhat.com/show_bug.cgi?id=2256711
Comment 1 William Brown 2024-02-13 04:25:29 UTC
Waiting on upstream for SUSE:SLE-15-SP3:Update, all other streams have fixes submitted.
Comment 6 William Brown 2024-03-15 01:26:41 UTC
Upstream fix: https://github.com/389ds/389-ds-base/issues/5647

Introduced: https://github.com/389ds/389-ds-base/issues/5502

You'll note none of these are an exploit - because it was found in static analysis and then fixed, there is no reproducer. The CVE was assigned because it's *theoretically* exploitable.
Comment 7 Maintenance Automation 2024-03-15 12:30:04 UTC
SUSE-SU-2024:0908-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1219836
CVE References: CVE-2024-1062
Sources used:
openSUSE Leap 15.5 (src): 389-ds-2.2.8~git65.347aae6-150500.3.17.1
Server Applications Module 15-SP5 (src): 389-ds-2.2.8~git65.347aae6-150500.3.17.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 9 William Brown 2024-04-05 00:18:14 UTC
Done, sorry it was missed.
Comment 12 William Brown 2024-04-26 06:26:12 UTC
No problem mate, I'll get this sorted in the next 24 hours :)
Comment 16 William Brown 2024-05-31 02:14:18 UTC
No problems at all - apparently when I submitted that to SP6 I didn't add it to my notes as a package I own so I forgot to submit the update there too.
Comment 18 Maintenance Automation 2024-06-03 16:30:32 UTC
SUSE-SU-2024:1906-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1219836
CVE References: CVE-2024-1062
Maintenance Incident: [SUSE:Maintenance:34117](https://smelt.suse.de/incident/34117/)
Sources used:
openSUSE Leap 15.6 (src):
 389-ds-2.2.8~git65.347aae6-150600.8.3.1
Server Applications Module 15-SP6 (src):
 389-ds-2.2.8~git65.347aae6-150600.8.3.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.