CVE-2022-2127 Samba: out-of-bounds read in winbind auth_crap
MediumCVSS 5.9
EPSS 1.7%
- Published
- Updated
- Exploit status
- No public exploit known
Description
An out-of-bounds read vulnerability was found in Samba due to insufficient length checks in winbindd_pam_auth_crap.c. When performing NTLM authentication, the client replies to cryptographic challenges back to the server. These replies have variable lengths, and Winbind fails to check the lan manager response length. When Winbind is used for NTLM authentication, a maliciously crafted request can trigger an out-of-bounds read in Winbind, possibly resulting in a crash.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/samba(Debian:12) | < 2:4.17.10+dfsg-0+deb12u1 | 2:4.17.10+dfsg-0+deb12u1 |
| debian/samba(Debian:12) | = 2:4.17.10+dfsg-0+deb12u1~bpo11+1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.8+dfsg-2 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.8+dfsg-2.1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u2 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u3 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u3~bpo11+1 | No fix listed |
| debian/samba(Debian:13) | < 2:4.18.5+dfsg-1 | 2:4.18.5+dfsg-1 |
| debian/samba(Debian:14) | < 2:4.18.5+dfsg-1 | 2:4.18.5+dfsg-1 |
| redhat enterprise linux | < 0:4.18.6-1.el8 | 0:4.18.6-1.el8 |
| redhat rhel eus | < 0:4.15.5-15.el8_6 | 0:4.15.5-15.el8_6 |
| redhat rhev hypervisor | < 0:4.15.5-15.el8_6 | 0:4.15.5-15.el8_6 |
| redhat rhel eus | < 0:4.17.5-5.el8_8 | 0:4.17.5-5.el8_8 |
| redhat enterprise linux | < 0:4.18.6-100.el9 | 0:4.18.6-100.el9 |
| redhat rhel els | = 6 | No fix listed |
| redhat rhel els | = 7 | No fix listed |
| redhat storage | = 3 | No fix listed |
| ubuntu/samba(Ubuntu:22.04) | < 2:4.15.13+dfsg-0ubuntu1.2 | 2:4.15.13+dfsg-0ubuntu1.2 |
| samba | >= 4.16.0, < 4.16.10 | 4.16.10 |
| samba | >= 4.17.0, < 4.17.9 | 4.17.9 |
| samba | >= 4.18.0, < 4.18.4 | 4.18.4 |
| redhat enterprise linux | = 6.0 | No fix listed |
| redhat enterprise linux | = 7.0 | No fix listed |
| redhat enterprise linux | = 8.0 | No fix listed |
Show 4 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat enterprise linux | = 9.0 | No fix listed |
| fedoraproject fedora | = 37 | No fix listed |
| fedoraproject fedora | = 38 | No fix listed |
| debian linux | = 12.0 | No fix listed |
References
- Debian Security Tracker CVE-2022-2127 vendor-advisory
- RHSA-2023:6667 third-party-advisory vendor-advisory
- RHSA-2023:7139 third-party-advisory vendor-advisory
- RHSA-2024:0423 vendor-advisory
- RHSA-2024:0580 vendor-advisory
- access.redhat.com third-party-advisory vdb-entry
- RHBZ#2222791 issue-tracking third-party-advisory
- www.samba.org mitigation vendor-advisory
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.netapp.com
- www.debian.org
- Ubuntu CVE tracker vendor-advisory
- USN-6238-1 vendor-advisory
- www.cve.org