CVE-2021-3480 Null dereference in slapi-nis

High 7.5 Published Updated

An unauthenticated attacker can crash the 389-ds-base directory server via a NULL pointer dereference in the slapi-nis plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-3480?

CVE-2021-3480 is a high-severity vulnerability in Fedoraproject Fedora, published on 20 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in slapi-nis in versions before 0.56.7. A NULL pointer dereference during the parsing of the Binding DN could allow an unauthenticated attacker to crash the 389-ds-base directory server. The highest threat from this vulnerability is to system availability.

Weakness: CWE-476

Which versions are affected by CVE-2021-3480?

It affects 2 products.

Linux distribution packages (40)
bind-dyndb-ldap AlmaLinux:8All versions11.6-2.module_el8.5.0+2603+92118e57
custodia AlmaLinux:8All versions0.6.0-3.module_el8.5.0+2603+92118e57
custodia AlmaLinux:8All versions0.6.0-3.module_el8.6.0+2881+2f24dc92
opendnssec AlmaLinux:8All versions2.1.7-1.module_el8.5.0+2603+92118e57
opendnssec AlmaLinux:8All versions2.1.7-1.module_el8.6.0+2881+2f24dc92
python3-custodia AlmaLinux:8All versions0.6.0-3.module_el8.5.0+2603+92118e57
python3-custodia AlmaLinux:8All versions0.6.0-3.module_el8.6.0+2881+2f24dc92
python3-jwcrypto AlmaLinux:8All versions0.5.0-1.module_el8.5.0+2603+92118e57
python3-jwcrypto AlmaLinux:8All versions0.5.0-1.module_el8.6.0+2737+7e73ea90
python3-jwcrypto AlmaLinux:8All versions0.5.0-1.module_el8.6.0+2881+2f24dc92
python3-kdcproxy AlmaLinux:8All versions0.4-5.module_el8.5.0+2603+92118e57
python3-kdcproxy AlmaLinux:8All versions0.4-5.module_el8.6.0+2881+2f24dc92
python3-pyusb AlmaLinux:8All versions1.0.0-9.module_el8.5.0+2603+92118e57
python3-pyusb AlmaLinux:8All versions1.0.0-9.module_el8.6.0+2737+7e73ea90
python3-pyusb AlmaLinux:8All versions1.0.0-9.module_el8.6.0+2881+2f24dc92
python3-qrcode AlmaLinux:8All versions5.1-12.module_el8.5.0+2603+92118e57
python3-qrcode AlmaLinux:8All versions5.1-12.module_el8.6.0+2737+7e73ea90
python3-qrcode AlmaLinux:8All versions5.1-12.module_el8.6.0+2881+2f24dc92
python3-qrcode-core AlmaLinux:8All versions5.1-12.module_el8.5.0+2603+92118e57
python3-qrcode-core AlmaLinux:8All versions5.1-12.module_el8.6.0+2737+7e73ea90
python3-qrcode-core AlmaLinux:8All versions5.1-12.module_el8.6.0+2881+2f24dc92
python3-yubico AlmaLinux:8All versions1.3.2-9.module_el8.5.0+2603+92118e57
python3-yubico AlmaLinux:8All versions1.3.2-9.module_el8.6.0+2737+7e73ea90
python3-yubico AlmaLinux:8All versions1.3.2-9.module_el8.6.0+2881+2f24dc92
softhsm AlmaLinux:8All versions2.6.0-5.module_el8.5.0+2603+92118e57
softhsm AlmaLinux:8All versions2.6.0-5.module_el8.6.0+2881+2f24dc92
softhsm-devel AlmaLinux:8All versions2.6.0-5.module_el8.5.0+2603+92118e57
softhsm-devel AlmaLinux:8All versions2.6.0-5.module_el8.6.0+2881+2f24dc92
slapi-nis Red Hat:enterprise_linux:7::clientAll versions0:0.56.5-4.el7_9
slapi-nis-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:0.56.5-4.el7_9
slapi-nis Red Hat:enterprise_linux:7::computenodeAll versions0:0.56.5-4.el7_9
slapi-nis-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions0:0.56.5-4.el7_9
slapi-nis Red Hat:enterprise_linux:7::serverAll versions0:0.56.5-4.el7_9
slapi-nis-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:0.56.5-4.el7_9
slapi-nis Red Hat:enterprise_linux:7::workstationAll versions0:0.56.5-4.el7_9
slapi-nis-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:0.56.5-4.el7_9
bind-dyndb-ldap Red Hat:enterprise_linux:8::appstreamAll versions0:11.6-2.module+el8.4.0+9328+4ec4e316
bind-dyndb-ldap-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:11.6-2.module+el8.4.0+9328+4ec4e316
bind-dyndb-ldap-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:11.6-2.module+el8.4.0+9328+4ec4e316
custodia Red Hat:enterprise_linux:8::appstreamAll versions0:0.6.0-3.module+el8.1.0+4098+f286395e

Products include Fedoraproject Fedora, Slapi-Nis Project Slapi-Nis.

How do I fix CVE-2021-3480?

Upgrade to a fixed version.

Is CVE-2021-3480 being exploited?

There is no known exploitation of CVE-2021-3480 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALSA-2021:1983, DEBIAN-CVE-2021-3480, GHSA-7c98-4wpw-92jq, RHSA-2021:1983, RHSA-2021:2026, RHSA-2021:2027 and 3 more.

Is CVE-2021-3480 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free