Heap-based buffer overflow in 389-ds-base - CVE-2024-1062

 

Heap-based buffer overflow in 389-ds-base - CVE-2024-1062

Published: March 5, 2024


Vulnerability identifier: #VU87107
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-1062
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when writing a value larger than 256 chars in log_entry_attr. A local user can pass specially crafted data to the application, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.


Affected software

389-ds-base
Red Hat Directory Server
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
SUSE Linux Enterprise Server 15 SP4 LTSS
Server Applications Module
openSUSE Leap
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
389-ds-base-debuginfo
389-ds-base-devel
389-ds-base-legacy-tools
389-ds-base-help
389-ds-base-snmp
389-ds-base-debugsource
cockpit-389-ds
python3-lib389
389-ds-base
389-ds-base-libs
389-ds-debuginfo
389-ds
389-ds-devel
libsvrcore0
389-ds-debugsource
lib389
libsvrcore0-debuginfo
389-ds-snmp
389-ds-snmp-debuginfo
389-ds-base (Red Hat package)

How to mitigate CVE-2024-1062

Install updates from vendor's website.

389-ds-base - update to 2.2.0
389-ds-base-debuginfo - update to 1.4.3.36-4
389-ds-base-devel - update to 1.4.3.36-4
389-ds-base-legacy-tools - update to 1.4.3.36-4
389-ds-base-help - update to 1.4.3.36-4
389-ds-base-snmp - update to 1.4.3.36-4
389-ds-base-debugsource - update to 1.4.3.36-4
cockpit-389-ds - update to 1.4.3.36-4
python3-lib389 - update to 1.4.3.36-4
389-ds-base - update to 1.4.3.36-4
python3-lib389 - update to 1.4.3.39-3.0.2
389-ds-base-snmp - update to 1.4.3.39-3.0.2
389-ds-base-libs - update to 1.4.3.39-3.0.2
389-ds-base-legacy-tools - update to 1.4.3.39-3.0.2
389-ds-base-devel - update to 1.4.3.39-3.0.2
389-ds-base - update to 1.4.3.39-3.0.2
389-ds-debuginfo - addressed in versions 2.0.20~git9.5e2d637c-150400.3.42.3, 2.2.8~git65.347aae6-150600.8.3.1
389-ds - addressed in versions 2.0.20~git9.5e2d637c-150400.3.42.3, 2.2.8~git65.347aae6-150600.8.3.1
389-ds-devel - addressed in versions 2.0.20~git9.5e2d637c-150400.3.42.3, 2.2.8~git65.347aae6-150600.8.3.1
libsvrcore0 - addressed in versions 2.0.20~git9.5e2d637c-150400.3.42.3, 2.2.8~git65.347aae6-150600.8.3.1
389-ds-debugsource - addressed in versions 2.0.20~git9.5e2d637c-150400.3.42.3, 2.2.8~git65.347aae6-150600.8.3.1
lib389 - addressed in versions 2.0.20~git9.5e2d637c-150400.3.42.3, 2.2.8~git65.347aae6-150600.8.3.1
libsvrcore0-debuginfo - addressed in versions 2.0.20~git9.5e2d637c-150400.3.42.3, 2.2.8~git65.347aae6-150600.8.3.1
389-ds-snmp - addressed in versions 2.0.20~git9.5e2d637c-150400.3.42.3, 2.2.8~git65.347aae6-150600.8.3.1
389-ds-snmp-debuginfo - addressed in versions 2.0.20~git9.5e2d637c-150400.3.42.3, 2.2.8~git65.347aae6-150600.8.3.1
389-ds-base (Red Hat package) - update to 2.2.4-9.el9_2
389-ds-base - addressed in versions 2.4.6-1.fc39, 3.0.4-2.fc40, 3.1.1-1.fc41

External References

Related Security Bulletins