USN-5822-1

Source
https://ubuntu.com/security/notices/USN-5822-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5822-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5822-1
Related
Published
2023-01-24T12:58:42.700212Z
Modified
2023-01-24T12:58:42.700212Z
Summary
samba vulnerabilities
Details

It was discovered that Samba incorrectly handled the bad password count logic. A remote attacker could possibly use this issue to bypass bad passwords lockouts. This issue was only addressed in Ubuntu 22.10. (CVE-2021-20251)

Evgeny Legerov discovered that Samba incorrectly handled buffers in certain GSSAPI routines of Heimdal. A remote attacker could possibly use this issue to cause Samba to crash, resulting in a denial of service. (CVE-2022-3437)

Tom Tervoort discovered that Samba incorrectly used weak rc4-hmac Kerberos keys. A remote attacker could possibly use this issue to elevate privileges. (CVE-2022-37966, CVE-2022-37967)

It was discovered that Samba supported weak RC4/HMAC-MD5 in NetLogon Secure Channel. A remote attacker could possibly use this issue to elevate privileges. (CVE-2022-38023)

Greg Hudson discovered that Samba incorrectly handled PAC parsing. On 32-bit systems, a remote attacker could use this issue to escalate privileges, or possibly execute arbitrary code. (CVE-2022-42898)

Joseph Sutton discovered that Samba could be forced to issue rc4-hmac encrypted Kerberos tickets. A remote attacker could possibly use this issue to escalate privileges. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-45141)

WARNING: The fixes included in these updates introduce several important behavior changes which may cause compatibility problems interacting with systems still expecting the former behavior. Please see the following upstream advisories for more information:

https://www.samba.org/samba/security/CVE-2022-37966.html https://www.samba.org/samba/security/CVE-2022-37967.html https://www.samba.org/samba/security/CVE-2022-38023.html

References

Affected packages

Ubuntu:20.04:LTS / samba

Package

Name
samba
Purl
pkg:deb/ubuntu/samba?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:4.13.17~dfsg-0ubuntu1.20.04.4

Affected versions

2:4.*

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": "ctdb-dbgsym"
        },
        {
            "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": "libnss-winbind-dbgsym"
        },
        {
            "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": "libpam-winbind-dbgsym"
        },
        {
            "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-dbgsym"
        },
        {
            "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": "libwbclient0-dbgsym"
        },
        {
            "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": "python3-samba-dbgsym"
        },
        {
            "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": "registry-tools-dbgsym"
        },
        {
            "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-common-bin-dbgsym"
        },
        {
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.4",
            "binary_name": "samba-dbgsym"
        },
        {
            "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-dsdb-modules-dbgsym"
        },
        {
            "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-libs-dbgsym"
        },
        {
            "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-testsuite-dbgsym"
        },
        {
            "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": "samba-vfs-modules-dbgsym"
        },
        {
            "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": "smbclient-dbgsym"
        },
        {
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.4",
            "binary_name": "winbind"
        },
        {
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.4",
            "binary_name": "winbind-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / samba

Package

Name
samba
Purl
pkg:deb/ubuntu/samba?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:4.15.13+dfsg-0ubuntu1

Affected versions

2:4.*

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": "ctdb-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "libnss-winbind"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "libnss-winbind-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "libpam-winbind"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "libpam-winbind-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "libsmbclient"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "libsmbclient-dbgsym"
        },
        {
            "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": "libwbclient0-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "python3-samba"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "python3-samba-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "registry-tools"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "registry-tools-dbgsym"
        },
        {
            "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-common-bin-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "samba-dbgsym"
        },
        {
            "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-dsdb-modules-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "samba-libs"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "samba-libs-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "samba-testsuite"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "samba-testsuite-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "samba-vfs-modules"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "samba-vfs-modules-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "smbclient"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "smbclient-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "winbind"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1",
            "binary_name": "winbind-dbgsym"
        }
    ]
}