NULL pointer dereference in 389-ds-base - CVE-2022-2850

 

NULL pointer dereference in 389-ds-base - CVE-2022-2850

Published: September 6, 2022


Vulnerability identifier: #VU66990
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-2850
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to a NULL pointer dereference error within the sync_create_state_control() function when running a sync_repl client. A remote authenticated user can pass a malformed cookie in a query and perform a denial of service (DoS) attack.

Note, the vulnerability exists due to incomplete fix for #VU54107 (CVE-2021-3514).


Affected software

389-ds-base
Red Hat Directory Server
Oracle Linux
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
CentOS
Anolis OS
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
SUSE Linux Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Server Applications
SUSE Linux Enterprise High Performance Computing
openSUSE Leap
389-ds-base (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
389-ds-base-tests
389-ds-base-snmp
389-ds-base-libs
389-ds-base-devel
389-ds-base
python3-lib389
cockpit-389-ds
389-ds-base-legacy-tools
389-ds-debuginfo
389-ds
389-ds-debugsource
389-ds-devel
389-ds-snmp
389-ds-snmp-debuginfo
lib389
libsvrcore0
libsvrcore0-debuginfo

How to mitigate CVE-2022-2850

Install updates from vendor's website.

389-ds-base (Red Hat package) - addressed in versions 1.3.10.2-17.el7_9, 2.0.14-3.el9_0, 2.1.3-4.el9_1
389-ds-base-tests - update to 1.3.10.2-17
389-ds-base-snmp - addressed in versions 1.3.10.2-17, 1.4.3.28-8.0.1
389-ds-base-libs - addressed in versions 1.3.10.2-17, 1.4.3.28-8.0.1
389-ds-base-devel - addressed in versions 1.3.10.2-17, 1.4.3.28-8.0.1
389-ds-base - addressed in versions 1.3.10.2-17, 1.4.3.28-8.0.1
python3-lib389 - update to 1.4.3.28-8.0.1
cockpit-389-ds - update to 1.4.3.28-8.0.1
389-ds-base-legacy-tools - update to 1.4.3.28-8.0.1
389-ds-debuginfo - addressed in versions 1.4.4.19~git46.c900a28c8-150300.3.22.1, 2.0.16~git20.219f047ae-150400.3.10.1
389-ds - addressed in versions 1.4.4.19~git46.c900a28c8-150300.3.22.1, 2.0.16~git20.219f047ae-150400.3.10.1
389-ds-debugsource - addressed in versions 1.4.4.19~git46.c900a28c8-150300.3.22.1, 2.0.16~git20.219f047ae-150400.3.10.1
389-ds-devel - addressed in versions 1.4.4.19~git46.c900a28c8-150300.3.22.1, 2.0.16~git20.219f047ae-150400.3.10.1
389-ds-snmp - addressed in versions 1.4.4.19~git46.c900a28c8-150300.3.22.1, 2.0.16~git20.219f047ae-150400.3.10.1
389-ds-snmp-debuginfo - addressed in versions 1.4.4.19~git46.c900a28c8-150300.3.22.1, 2.0.16~git20.219f047ae-150400.3.10.1
lib389 - addressed in versions 1.4.4.19~git46.c900a28c8-150300.3.22.1, 2.0.16~git20.219f047ae-150400.3.10.1
libsvrcore0 - addressed in versions 1.4.4.19~git46.c900a28c8-150300.3.22.1, 2.0.16~git20.219f047ae-150400.3.10.1
libsvrcore0-debuginfo - addressed in versions 1.4.4.19~git46.c900a28c8-150300.3.22.1, 2.0.16~git20.219f047ae-150400.3.10.1

External References

Related Security Bulletins