usn-5542-1
Vulnerability from osv_ubuntu
Published
2022-08-01 11:50
Modified
2026-04-27 14:11
Summary
samba vulnerabilities
Details

It was discovered that Samba did not handle MaxQueryDuration when being used in AD DC configurations, contrary to expectations. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-3670)

Luke Howard discovered that Samba incorrectly handled certain restrictions associated with changing passwords. A remote attacker being requested to change passwords could possibly use this issue to escalate privileges. (CVE-2022-2031)

Luca Moro discovered that Samba incorrectly handled certain SMB1 communications. A remote attacker could possibly use this issue to obtain sensitive memory contents. (CVE-2022-32742)

Joseph Sutton discovered that Samba incorrectly handled certain password change requests. A remote attacker could use this issue to change passwords of other users, resulting in privilege escalation. (CVE-2022-32744)

Joseph Sutton discovered that Samba incorrectly handled certain LDAP add or modify requests. A remote attacker could possibly use this issue to cause Samba to crash, resulting in a denial of service. (CVE-2022-32745)

Joseph Sutton and Andrew Bartlett discovered that Samba incorrectly handled certain LDAP add or modify requests. A remote attacker could possibly use this issue to cause Samba to crash, resulting in a denial of service. (CVE-2022-32746)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2021-3670",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-2031",
              "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": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-32742",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-32744",
              "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": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-32745",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-32746",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ctdb",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          },
          {
            "binary_name": "libnss-winbind",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          },
          {
            "binary_name": "libpam-winbind",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          },
          {
            "binary_name": "libsmbclient",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          },
          {
            "binary_name": "libwbclient0",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          },
          {
            "binary_name": "python3-samba",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          },
          {
            "binary_name": "registry-tools",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          },
          {
            "binary_name": "samba",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          },
          {
            "binary_name": "samba-common",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          },
          {
            "binary_name": "samba-common-bin",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          },
          {
            "binary_name": "samba-dsdb-modules",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          },
          {
            "binary_name": "samba-libs",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          },
          {
            "binary_name": "samba-testsuite",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          },
          {
            "binary_name": "samba-vfs-modules",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          },
          {
            "binary_name": "smbclient",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          },
          {
            "binary_name": "winbind",
            "binary_version": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "samba",
        "purl": "pkg:deb/ubuntu/samba@2:4.13.17~dfsg-0ubuntu1.20.04.1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2:4.13.17~dfsg-0ubuntu1.20.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2022-2031",
              "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": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-32742",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-32744",
              "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": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-32745",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-32746",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:22.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ctdb",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          },
          {
            "binary_name": "libnss-winbind",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          },
          {
            "binary_name": "libpam-winbind",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          },
          {
            "binary_name": "libsmbclient",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          },
          {
            "binary_name": "libwbclient0",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          },
          {
            "binary_name": "python3-samba",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          },
          {
            "binary_name": "registry-tools",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          },
          {
            "binary_name": "samba",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          },
          {
            "binary_name": "samba-common",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          },
          {
            "binary_name": "samba-common-bin",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          },
          {
            "binary_name": "samba-dsdb-modules",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          },
          {
            "binary_name": "samba-libs",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          },
          {
            "binary_name": "samba-testsuite",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          },
          {
            "binary_name": "samba-vfs-modules",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          },
          {
            "binary_name": "smbclient",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          },
          {
            "binary_name": "winbind",
            "binary_version": "2:4.15.9+dfsg-0ubuntu0.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "samba",
        "purl": "pkg:deb/ubuntu/samba@2:4.15.9+dfsg-0ubuntu0.2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2:4.15.9+dfsg-0ubuntu0.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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"
      ]
    }
  ],
  "aliases": [],
  "details": "It was discovered that Samba did not handle MaxQueryDuration when being\nused in AD DC configurations, contrary to expectations. This issue only\naffected Ubuntu 20.04 LTS. (CVE-2021-3670)\n\nLuke Howard discovered that Samba incorrectly handled certain restrictions\nassociated with changing passwords. A remote attacker being requested to\nchange passwords could possibly use this issue to escalate privileges.\n(CVE-2022-2031)\n\nLuca Moro discovered that Samba incorrectly handled certain SMB1\ncommunications. A remote attacker could possibly use this issue to obtain\nsensitive memory contents. (CVE-2022-32742)\n\nJoseph Sutton discovered that Samba incorrectly handled certain password\nchange requests. A remote attacker could use this issue to change passwords\nof other users, resulting in privilege escalation. (CVE-2022-32744)\n\nJoseph Sutton discovered that Samba incorrectly handled certain LDAP add or\nmodify requests. A remote attacker could possibly use this issue to cause\nSamba to crash, resulting in a denial of service. (CVE-2022-32745)\n\nJoseph Sutton and Andrew Bartlett discovered that Samba incorrectly handled\ncertain LDAP add or modify requests. A remote attacker could possibly use\nthis issue to cause Samba to crash, resulting in a denial of service.\n(CVE-2022-32746)\n",
  "id": "USN-5542-1",
  "modified": "2026-04-27T14:11:28Z",
  "published": "2022-08-01T11:50:53Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5542-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-3670"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-2031"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-32742"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-32744"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-32745"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-32746"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "samba vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2021-3670",
    "UBUNTU-CVE-2022-2031",
    "UBUNTU-CVE-2022-32742",
    "UBUNTU-CVE-2022-32744",
    "UBUNTU-CVE-2022-32745",
    "UBUNTU-CVE-2022-32746"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…