CVE-2022-2127
Publication date 19 July 2023
Last updated 18 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| samba | 26.04 LTS resolute |
Fixed 2:4.18.5+dfsg-1ubuntu1
|
| 25.10 questing |
Fixed 2:4.18.5+dfsg-1ubuntu1
|
|
| 24.04 LTS noble |
Fixed 2:4.18.5+dfsg-1ubuntu1
|
|
| 22.04 LTS jammy |
Fixed 2:4.15.13+dfsg-0ubuntu1.2
|
|
| 20.04 LTS focal |
Fixed 2:4.15.13+dfsg-0ubuntu0.20.04.3
|
|
| 18.04 LTS bionic | Ignored end of standard support | |
| 16.04 LTS xenial | Ignored end of standard support | |
| 14.04 LTS trusty | Ignored end of standard support |
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | High |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity impact | None |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-6238-1
- Samba vulnerabilities
- 19 July 2023