Improper Authentication in 389-ds-base - CVE-2021-3652
Published: July 27, 2021
Vulnerability details
The vulnerability allows a remote attacker to bypass authentication process.
The vulnerability exists due to an error in the way the asterisk character is processed by the LDAP server when importing password hashes from /etc/shadow for disabled accounts. As a result of the flaw, if an LDAP admin imports such an account from a NIS or /etc/shadow database into Directory Server, any password will be valid for that account.
Affected software
Arch Linux
Amazon Linux AMI
SUSE CaaS Platform
SUSE Enterprise Storage
CentOS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Module for Server Applications
389-ds-base (Red Hat package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
389-admin
389-ds-base
389-ds
389-ds-debuginfo
389-ds-debugsource
389-ds-devel
libsvrcore0
libsvrcore0-debuginfo
python3-lib389
389-ds-base-snmp
389-ds-base-libs
389-ds-base-legacy-tools
389-ds-base-devel
389-ds-snmp
389-ds-snmp-debuginfo
lib389
How to mitigate CVE-2021-3652
389-ds-base (Red Hat package) - update to 1.3.10.2-13.el7_9
389-admin - update to 1.1.46-5.14
389-ds-base - update to 1.3.10.2-9.67
389-ds - addressed in versions 1.4.0.31~git15.8b9843b0b-150000.4.27.1, 1.4.2.16~git68.efa843752-150100.7.34.1, 1.4.3.24~git13.7b705e743-3.19.1, 1.4.4.16~git16.c1926dfc6-3.4.1
389-ds-debuginfo - addressed in versions 1.4.0.31~git15.8b9843b0b-150000.4.27.1, 1.4.2.16~git68.efa843752-150100.7.34.1, 1.4.3.24~git13.7b705e743-3.19.1, 1.4.4.16~git16.c1926dfc6-3.4.1
389-ds-debugsource - addressed in versions 1.4.0.31~git15.8b9843b0b-150000.4.27.1, 1.4.2.16~git68.efa843752-150100.7.34.1, 1.4.3.24~git13.7b705e743-3.19.1, 1.4.4.16~git16.c1926dfc6-3.4.1
389-ds-devel - addressed in versions 1.4.0.31~git15.8b9843b0b-150000.4.27.1, 1.4.2.16~git68.efa843752-150100.7.34.1, 1.4.3.24~git13.7b705e743-3.19.1, 1.4.4.16~git16.c1926dfc6-3.4.1
libsvrcore0 - addressed in versions 1.4.0.31~git15.8b9843b0b-150000.4.27.1, 1.4.2.16~git68.efa843752-150100.7.34.1, 1.4.3.24~git13.7b705e743-3.19.1, 1.4.4.16~git16.c1926dfc6-3.4.1
libsvrcore0-debuginfo - addressed in versions 1.4.0.31~git15.8b9843b0b-150000.4.27.1, 1.4.2.16~git68.efa843752-150100.7.34.1, 1.4.3.24~git13.7b705e743-3.19.1, 1.4.4.16~git16.c1926dfc6-3.4.1
python3-lib389 - addressed in versions 1.4.2.4-17, 1.4.3.16-19
389-ds-base-snmp - addressed in versions 1.4.2.4-17, 1.4.3.16-19
389-ds-base-libs - addressed in versions 1.4.2.4-17, 1.4.3.16-19
389-ds-base-legacy-tools - addressed in versions 1.4.2.4-17, 1.4.3.16-19
389-ds-base-devel - addressed in versions 1.4.2.4-17, 1.4.3.16-19
389-ds-base - addressed in versions 1.4.2.4-17, 1.4.3.16-19
389-ds-snmp - update to 1.4.2.16~git68.efa843752-150100.7.34.1
389-ds-snmp-debuginfo - update to 1.4.2.16~git68.efa843752-150100.7.34.1
lib389 - addressed in versions 1.4.2.16~git68.efa843752-150100.7.34.1, 1.4.3.24~git13.7b705e743-3.19.1, 1.4.4.16~git16.c1926dfc6-3.4.1
External References
Related Security Bulletins
- Authentication bypass in 389-ds-base
- Arch Linux update for 389-ds-base
- Red Hat Enterprise Linux 8.4 update for the 389-ds:1.4 module
- Red Hat Enterprise Linux 7 update for 389-ds-base
- Red Hat Enterprise Linux 8 update for the 389-ds:1.4 module
- CentOS 7 update for 389-ds-base
- SUSE update for 389-ds
- SUSE update for 389-ds
- Amazon Linux AMI update for 389-admin
- Amazon Linux AMI update for 389-ds-base
- SUSE update for 389-ds
- SUSE update for 389-ds
- Anolis OS update for 389-ds:1.4 (Anolis OS 8.4) module
- Anolis OS update for 389-ds:1.4 (Anolis OS 8.2) module