{"id":"USN-5822-1","summary":"samba vulnerabilities","details":"It was discovered that Samba incorrectly handled the bad password count\nlogic. A remote attacker could possibly use this issue to bypass bad\npasswords lockouts. This issue was only addressed in Ubuntu 22.10.\n(CVE-2021-20251)\n\nEvgeny Legerov discovered that Samba incorrectly handled buffers in\ncertain GSSAPI routines of Heimdal. A remote attacker could possibly use\nthis issue to cause Samba to crash, resulting in a denial of service.\n(CVE-2022-3437)\n\nTom Tervoort discovered that Samba incorrectly used weak rc4-hmac Kerberos\nkeys. A remote attacker could possibly use this issue to elevate\nprivileges. (CVE-2022-37966, CVE-2022-37967)\n\nIt was discovered that Samba supported weak RC4/HMAC-MD5 in NetLogon Secure\nChannel. A remote attacker could possibly use this issue to elevate\nprivileges. (CVE-2022-38023)\n\nGreg Hudson discovered that Samba incorrectly handled PAC parsing. On\n32-bit systems, a remote attacker could use this issue to escalate\nprivileges, or possibly execute arbitrary code. (CVE-2022-42898)\n\nJoseph Sutton discovered that Samba could be forced to issue rc4-hmac\nencrypted Kerberos tickets. A remote attacker could possibly use this issue\nto escalate privileges. This issue only affected Ubuntu 20.04 LTS and\nUbuntu 22.04 LTS. (CVE-2022-45141)\n\nWARNING: The fixes included in these updates introduce several important\nbehavior changes which may cause compatibility problems interacting with\nsystems still expecting the former behavior. Please see the following\nupstream advisories for more information:\n\nhttps://www.samba.org/samba/security/CVE-2022-37966.html\nhttps://www.samba.org/samba/security/CVE-2022-37967.html\nhttps://www.samba.org/samba/security/CVE-2022-38023.html\n","modified":"2026-02-10T04:42:55Z","published":"2023-01-24T12:58:42Z","related":["UBUNTU-CVE-2021-20251","UBUNTU-CVE-2022-3437","UBUNTU-CVE-2022-37966","UBUNTU-CVE-2022-37967","UBUNTU-CVE-2022-38023","UBUNTU-CVE-2022-42898","UBUNTU-CVE-2022-45141"],"upstream":["CVE-2021-20251","CVE-2022-3437","CVE-2022-37966","CVE-2022-37967","CVE-2022-38023","CVE-2022-42898","CVE-2022-45141","UBUNTU-CVE-2021-20251","UBUNTU-CVE-2022-3437","UBUNTU-CVE-2022-37966","UBUNTU-CVE-2022-37967","UBUNTU-CVE-2022-38023","UBUNTU-CVE-2022-42898","UBUNTU-CVE-2022-45141"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5822-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20251"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-3437"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-37966"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-37967"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-38023"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-42898"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-45141"}],"affected":[{"package":{"name":"samba","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/samba@2:4.13.17~dfsg-0ubuntu1.20.04.4?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.13.17~dfsg-0ubuntu1.20.04.4"}]}],"versions":["2:4.10.7+dfsg-0ubuntu2","2:4.10.7+dfsg-0ubuntu3","2:4.11.1+dfsg-3ubuntu1","2:4.11.1+dfsg-3ubuntu2","2:4.11.1+dfsg-3ubuntu4","2:4.11.5+dfsg-1ubuntu1","2:4.11.5+dfsg-1ubuntu2","2:4.11.6+dfsg-0ubuntu1","2:4.11.6+dfsg-0ubuntu1.1","2:4.11.6+dfsg-0ubuntu1.2","2:4.11.6+dfsg-0ubuntu1.3","2:4.11.6+dfsg-0ubuntu1.4","2:4.11.6+dfsg-0ubuntu1.5","2:4.11.6+dfsg-0ubuntu1.6","2:4.11.6+dfsg-0ubuntu1.8","2:4.11.6+dfsg-0ubuntu1.9","2:4.11.6+dfsg-0ubuntu1.10","2:4.13.14+dfsg-0ubuntu0.20.04.1","2:4.13.14+dfsg-0ubuntu0.20.04.2","2:4.13.14+dfsg-0ubuntu0.20.04.3","2:4.13.14+dfsg-0ubuntu0.20.04.4","2:4.13.17~dfsg-0ubuntu0.21.04.1","2:4.13.17~dfsg-0ubuntu0.21.04.2","2:4.13.17~dfsg-0ubuntu1.20.04.1","2:4.13.17~dfsg-0ubuntu1.20.04.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"ctdb"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"libnss-winbind"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"libpam-winbind"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"libsmbclient"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"libsmbclient-dev"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"libwbclient-dev"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"libwbclient0"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"python3-samba"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"registry-tools"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"samba"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"samba-common"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"samba-common-bin"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"samba-dev"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"samba-dsdb-modules"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"samba-libs"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"samba-testsuite"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"samba-vfs-modules"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"smbclient"},{"binary_version":"2:4.13.17~dfsg-0ubuntu1.20.04.4","binary_name":"winbind"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5822-1.json","cves_map":{"cves":[],"ecosystem":"Ubuntu:20.04:LTS"}}},{"package":{"name":"samba","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/samba@2:4.15.13+dfsg-0ubuntu1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.15.13+dfsg-0ubuntu1"}]}],"versions":["2:4.13.5+dfsg-2ubuntu2","2:4.13.5+dfsg-2ubuntu3","2:4.13.14+dfsg-0ubuntu1","2:4.13.14+dfsg-0ubuntu2","2:4.15.5~dfsg-0ubuntu1","2:4.15.5~dfsg-0ubuntu2","2:4.15.5~dfsg-0ubuntu4","2:4.15.5~dfsg-0ubuntu5","2:4.15.5~dfsg-0ubuntu5.1","2:4.15.9+dfsg-0ubuntu0.2","2:4.15.9+dfsg-0ubuntu0.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"ctdb"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"libnss-winbind"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"libpam-winbind"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"libsmbclient"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"libsmbclient-dev"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"libwbclient-dev"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"libwbclient0"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"python3-samba"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"registry-tools"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"samba"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"samba-common"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"samba-common-bin"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"samba-dev"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"samba-dsdb-modules"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"samba-libs"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"samba-testsuite"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"samba-vfs-modules"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"smbclient"},{"binary_version":"2:4.15.13+dfsg-0ubuntu1","binary_name":"winbind"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5822-1.json","cves_map":{"cves":[{"id":"CVE-2022-3437","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-37966","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-37967","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-38023","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-42898","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-45141","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:22.04:LTS"}}}],"schema_version":"1.7.3"}