CVE-2022-2127
published medium CVSS 3.1 · 5.9Samba: out-of-bounds read in winbind auth_crap
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 8 | samba0:4.18.6-1.el8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | sambaRed Hat Enterprise Linux 8.6 Extended Update Support · 0:4.15.5-15.el8_6 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | sambaRed Hat Enterprise Linux 8.8 Extended Update Support · 0:4.17.5-5.el8_8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | samba0:4.18.6-100.el9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2367 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-316 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | samba | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| Debian | bookworm | samba | Advisory build | 2:4.17.10+dfsg-0+deb12u1 | DSA-5477-1 |
Show 102 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | sambaRed Hat Virtualization 4 for Red Hat Enterprise Linux 8 · 0:4.15.5-15.el8_6 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | samba | Unknown | Not stated | redhat |
| Red Hat Enterprise Linux | 6 | samba4 | Unknown | Not stated | redhat |
| Red Hat | — | sambaRed Hat Storage 3 | Unknown | Not stated | redhat |
| Oracle Linux | 9 | sambaaarch64 | Advisory build | 0:4.18.6-100.el9 | ELSA-2023-6667 |
| Red Hat Enterprise Linux | RHEL-8 | sambaaarch64 | Advisory build | 4.15.5-15.el8_6 | RHSA-2024:0423 |
| SUSE / openSUSE | SLE-12-SP4 | sambaaarch64 | Advisory build | 4.6.16+git.393.97432483687-3.81.1 | SUSE-SU-2023:2887-1 |
| Ubuntu | focal | samba | Advisory build | 2:4.15.13+dfsg-0ubuntu0.20.04.3 | USN-6238-1 |
| AlmaLinux | 9 | samba | Advisory build | 4.18.6-100.el9 | ALSA-2023:6667 |
| Debian | bullseye | samba | Advisory build | 2:4.13.13+dfsg-1~deb11u6 | DSA-5647-1 |
| Debian | buster | samba | Advisory build | 2:4.9.5+dfsg-5+deb10u5 | DLA-3792-1 |
| Oracle Linux | 9 | sambax86_64 | Advisory build | 0:4.18.6-100.el9 | ELSA-2023-6667 |
| Red Hat Enterprise Linux | RHEL-8 | sambaaarch64 | Advisory build | 4.17.5-5.el8_8 | RHSA-2024:0580 |
| Red Hat Enterprise Linux | RHEL-8 | sambaaarch64 | Advisory build | 4.18.6-1.el8 | RHSA-2023:7139 |
| Red Hat Enterprise Linux | RHEL-8 | sambappc64le | Advisory build | 4.15.5-15.el8_6 | RHSA-2024:0423 |
| Red Hat Enterprise Linux | RHEL-8 | sambappc64le | Advisory build | 4.17.5-5.el8_8 | RHSA-2024:0580 |
| Red Hat Enterprise Linux | RHEL-8 | sambappc64le | Advisory build | 4.18.6-1.el8 | RHSA-2023:7139 |
| Red Hat Enterprise Linux | RHEL-8 | sambas390x | Advisory build | 4.15.5-15.el8_6 | RHSA-2024:0423 |
| Red Hat Enterprise Linux | RHEL-8 | sambas390x | Advisory build | 4.17.5-5.el8_8 | RHSA-2024:0580 |
| Red Hat Enterprise Linux | RHEL-8 | sambas390x | Advisory build | 4.18.6-1.el8 | RHSA-2023:7139 |
| Red Hat Enterprise Linux | RHEL-8 | sambasrc | Advisory build | 4.15.5-15.el8_6 | RHSA-2024:0423 |
| Red Hat Enterprise Linux | RHEL-8 | sambasrc | Advisory build | 4.17.5-5.el8_8 | RHSA-2024:0580 |
| Red Hat Enterprise Linux | RHEL-8 | sambasrc | Advisory build | 4.18.6-1.el8 | RHSA-2023:7139 |
| Red Hat Enterprise Linux | RHEL-8 | sambax86_64 | Advisory build | 4.15.5-15.el8_6 | RHSA-2024:0423 |
| Red Hat Enterprise Linux | RHEL-8 | sambax86_64 | Advisory build | 4.17.5-5.el8_8 | RHSA-2024:0580 |
| Red Hat Enterprise Linux | RHEL-8 | sambax86_64 | Advisory build | 4.18.6-1.el8 | RHSA-2023:7139 |
| Red Hat Enterprise Linux | RHEL-9 | sambaaarch64 | Advisory build | 4.18.6-100.el9 | RHSA-2023:6667 |
| Red Hat Enterprise Linux | RHEL-9 | sambappc64le | Advisory build | 4.18.6-100.el9 | RHSA-2023:6667 |
| Red Hat Enterprise Linux | RHEL-9 | sambas390x | Advisory build | 4.18.6-100.el9 | RHSA-2023:6667 |
| Red Hat Enterprise Linux | RHEL-9 | sambasrc | Advisory build | 4.18.6-100.el9 | RHSA-2023:6667 |
| Red Hat Enterprise Linux | RHEL-9 | sambax86_64 | Advisory build | 4.18.6-100.el9 | RHSA-2023:6667 |
| SUSE / openSUSE | SLE-12-SP4 | sambappc64le | Advisory build | 4.6.16+git.393.97432483687-3.81.1 | SUSE-SU-2023:2887-1 |
| SUSE / openSUSE | SLE-12-SP4 | sambas390x | Advisory build | 4.6.16+git.393.97432483687-3.81.1 | SUSE-SU-2023:2887-1 |
| SUSE / openSUSE | SLE-12-SP4 | sambax86_64 | Advisory build | 4.6.16+git.393.97432483687-3.81.1 | SUSE-SU-2023:2887-1 |
| SUSE / openSUSE | SLE-12-SP5 | sambaaarch64 | Advisory build | 4.15.13+git.621.c8ae836ff82-3.85.1 | SUSE-SU-2023:2888-1 |
| SUSE / openSUSE | SLE-12-SP5 | sambappc64le | Advisory build | 4.15.13+git.621.c8ae836ff82-3.85.1 | SUSE-SU-2023:2888-1 |
| SUSE / openSUSE | SLE-12-SP5 | sambas390x | Advisory build | 4.15.13+git.621.c8ae836ff82-3.85.1 | SUSE-SU-2023:2888-1 |
| SUSE / openSUSE | SLE-12-SP5 | sambax86_64 | Advisory build | 4.15.13+git.621.c8ae836ff82-3.85.1 | SUSE-SU-2023:2888-1 |
| SUSE / openSUSE | SLE-15-SP1 | sambaaarch64 | Advisory build | 4.9.5+git.564.996810ca1e3-150100.3.82.3 | SUSE-SU-2023:3017-1 |
| SUSE / openSUSE | SLE-15-SP1 | sambappc64le | Advisory build | 4.9.5+git.564.996810ca1e3-150100.3.82.3 | SUSE-SU-2023:3017-1 |
| SUSE / openSUSE | SLE-15-SP1 | sambas390x | Advisory build | 4.9.5+git.564.996810ca1e3-150100.3.82.3 | SUSE-SU-2023:3017-1 |
| SUSE / openSUSE | SLE-15-SP1 | sambax86_64 | Advisory build | 4.9.5+git.564.996810ca1e3-150100.3.82.3 | SUSE-SU-2023:3017-1 |
| SUSE / openSUSE | SLE-15-SP2 | sambaaarch64 | Advisory build | 4.11.14+git.396.91f4f677472-150200.4.52.5 | SUSE-SU-2023:3358-1 |
| SUSE / openSUSE | SLE-15-SP2 | sambappc64le | Advisory build | 4.11.14+git.396.91f4f677472-150200.4.52.5 | SUSE-SU-2023:3358-1 |
| SUSE / openSUSE | SLE-15-SP2 | sambas390x | Advisory build | 4.11.14+git.396.91f4f677472-150200.4.52.5 | SUSE-SU-2023:3358-1 |
| SUSE / openSUSE | SLE-15-SP2 | sambax86_64 | Advisory build | 4.11.14+git.396.91f4f677472-150200.4.52.5 | SUSE-SU-2023:3358-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambaaarch64 | Advisory build | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambappc64le | Advisory build | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambas390x | Advisory build | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambax86_64 | Advisory build | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambaaarch64 | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambappc64le | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambas390x | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambax86_64 | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambaaarch64 | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambappc64le | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambas390x | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambax86_64 | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | sambaaarch64 | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | sambappc64le | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | sambas390x | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | sambax86_64 | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sambaaarch64 | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sambappc64le | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sambas390x | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sambax86_64 | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambaaarch64 | Advisory build | 4.18.5+git.313.c8e274c7852-1.1 | OPENSUSE-SU-2024:13071-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambappc64le | Advisory build | 4.18.5+git.313.c8e274c7852-1.1 | OPENSUSE-SU-2024:13071-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambas390x | Advisory build | 4.18.5+git.313.c8e274c7852-1.1 | OPENSUSE-SU-2024:13071-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambax86_64 | Advisory build | 4.18.5+git.313.c8e274c7852-1.1 | OPENSUSE-SU-2024:13071-1 |
| Ubuntu | jammy | samba | Advisory build | 2:4.15.13+dfsg-0ubuntu1.2 | USN-6238-1 |
| AlmaLinux | 8 | ctdb | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | libnetapi | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | libnetapi-devel | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | libsmbclient | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | libsmbclient-devel | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | libwbclient | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | libwbclient-devel | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | python3-samba | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | python3-samba-dc | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | python3-samba-devel | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | python3-samba-test | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-client | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-client-libs | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-common | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-common-libs | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-common-tools | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-dc-libs | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-dcerpc | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-devel | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-krb5-printing | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-ldb-ldap-modules | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-libs | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-pidl | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-test | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-test-libs | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-tools | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-usershares | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-vfs-iouring | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-winbind | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-winbind-clients | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-winbind-krb5-locator | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | 0:4.18.6-1.el8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:4.18.6-1.el8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | 0:4.15.5-15.el8_6 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 0:4.17.5-5.el8_8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:4.18.6-100.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:4.18.6-100.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:4.18.6-100.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | 0:4.15.5-15.el8_6 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Storage 3 | Default: unknown | redhat · cna |
Weaknesses
1- CWE-125 Out-of-bounds Read
References
12- RHSA-2023:6667 https://access.redhat.com/errata/RHSA-2023:6667
- RHSA-2023:7139 https://access.redhat.com/errata/RHSA-2023:7139
- RHSA-2024:0423 https://access.redhat.com/errata/RHSA-2024:0423
- RHSA-2024:0580 https://access.redhat.com/errata/RHSA-2024:0580
- https://access.redhat.com/security/cve/CVE-2022-2127
- RHBZ#2222791 https://bugzilla.redhat.com/show_bug.cgi?id=2222791
- https://lists.debian.org/debian-lts-announce/2024/04/msg00015.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BPCSGND7LO467AJGR5DYBGZLTCGTOBCC/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/OT74M42E6C36W7PQVY3OS4ZM7DVYB64Z/
- https://security.netapp.com/advisory/ntap-20230731-0010/
- https://www.debian.org/security/2023/dsa-5477
- https://www.samba.org/samba/security/CVE-2022-2127.html
Provider assertions
3redhat · cna
Samba: out-of-bounds read in winbind auth_crap
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 88524773fe6c5f14c2ca4910465132427493114327313b23540e45e9b1014c99
- Ingested
- 26 Nov 2026, 16:48:21 UTC
- Source record
- Official CVE record