GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
oesa-2022-1798
Vulnerability from osv_openeuler
Published
2022-08-05 11:05
Modified
2026-08-06 11:05
Summary
samba security update
Details

Samba is a suite of programs for Linux and Unix to interoperate with Windows.

Security Fix(es):

A flaw was found in Samba. Samba AD users can cause the server to access uninitialized data with an LDAP add or modify the request, usually resulting in a segmentation fault.(CVE-2022-32745)

A flaw was found in the Samba AD LDAP server. The AD DC database audit logging module can access LDAP message values freed by a preceding database module, resulting in a use-after-free issue. This issue is only possible when modifying certain privileged attributes, such as userAccountControl.(CVE-2022-32746)

A flaw was found in Samba. Some SMB1 write requests were not correctly range-checked to ensure the client had sent enough data to fulfill the write, allowing server memory contents to be written into the file (or printer) instead of client-supplied data. The client cannot control the area of the server memory written to the file (or printer).(CVE-2022-32742)

A flaw was found in Samba. The KDC accepts kpasswd requests encrypted with any key known to it. By encrypting forged kpasswd requests with its own key, a user can change other users passwords, enabling full domain takeover.(CVE-2022-32744)

As per samba upstream advisory:All versions of Samba prior to 4.16.x built with Heimdal Kerberos are vulnerable to an Elevation of Privilege attack. If the password of a user expires and need to be changed, a user could get a krbtgt using kpasswd with canonicalization turned on. The KDC should only provide a ticket for kadmin/changepw but returns a krbtgt. So a user could skip the password change and just use the krbtgt to get service tickets and use services in the forest.(CVE-2022-2031)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "samba-libs-4.15.3-7.oe2203.aarch64.rpm",
          "libsmbclient-devel-4.15.3-7.oe2203.aarch64.rpm",
          "samba-4.15.3-7.oe2203.aarch64.rpm",
          "libwbclient-devel-4.15.3-7.oe2203.aarch64.rpm",
          "python3-samba-4.15.3-7.oe2203.aarch64.rpm",
          "libsmbclient-4.15.3-7.oe2203.aarch64.rpm",
          "ctdb-4.15.3-7.oe2203.aarch64.rpm",
          "samba-krb5-printing-4.15.3-7.oe2203.aarch64.rpm",
          "samba-winbind-clients-4.15.3-7.oe2203.aarch64.rpm",
          "samba-dc-provision-4.15.3-7.oe2203.aarch64.rpm",
          "samba-test-4.15.3-7.oe2203.aarch64.rpm",
          "samba-winbind-modules-4.15.3-7.oe2203.aarch64.rpm",
          "samba-help-4.15.3-7.oe2203.aarch64.rpm",
          "samba-client-4.15.3-7.oe2203.aarch64.rpm",
          "samba-winbind-4.15.3-7.oe2203.aarch64.rpm",
          "libwbclient-4.15.3-7.oe2203.aarch64.rpm",
          "samba-debugsource-4.15.3-7.oe2203.aarch64.rpm",
          "samba-winbind-krb5-locator-4.15.3-7.oe2203.aarch64.rpm",
          "python3-samba-test-4.15.3-7.oe2203.aarch64.rpm",
          "samba-common-tools-4.15.3-7.oe2203.aarch64.rpm",
          "samba-dc-bind-dlz-4.15.3-7.oe2203.aarch64.rpm",
          "python3-samba-dc-4.15.3-7.oe2203.aarch64.rpm",
          "samba-dc-4.15.3-7.oe2203.aarch64.rpm",
          "samba-common-4.15.3-7.oe2203.aarch64.rpm",
          "samba-debuginfo-4.15.3-7.oe2203.aarch64.rpm",
          "samba-devel-4.15.3-7.oe2203.aarch64.rpm"
        ],
        "noarch": [
          "samba-pidl-4.15.3-7.oe2203.noarch.rpm"
        ],
        "src": [
          "samba-4.15.3-7.oe2203.src.rpm"
        ],
        "x86_64": [
          "libwbclient-4.15.3-7.oe2203.x86_64.rpm",
          "samba-common-tools-4.15.3-7.oe2203.x86_64.rpm",
          "samba-dc-provision-4.15.3-7.oe2203.x86_64.rpm",
          "samba-debuginfo-4.15.3-7.oe2203.x86_64.rpm",
          "samba-client-4.15.3-7.oe2203.x86_64.rpm",
          "samba-dc-4.15.3-7.oe2203.x86_64.rpm",
          "samba-help-4.15.3-7.oe2203.x86_64.rpm",
          "libsmbclient-devel-4.15.3-7.oe2203.x86_64.rpm",
          "samba-krb5-printing-4.15.3-7.oe2203.x86_64.rpm",
          "samba-winbind-modules-4.15.3-7.oe2203.x86_64.rpm",
          "samba-vfs-glusterfs-4.15.3-7.oe2203.x86_64.rpm",
          "python3-samba-4.15.3-7.oe2203.x86_64.rpm",
          "samba-test-4.15.3-7.oe2203.x86_64.rpm",
          "samba-winbind-krb5-locator-4.15.3-7.oe2203.x86_64.rpm",
          "samba-debugsource-4.15.3-7.oe2203.x86_64.rpm",
          "libsmbclient-4.15.3-7.oe2203.x86_64.rpm",
          "samba-common-4.15.3-7.oe2203.x86_64.rpm",
          "ctdb-4.15.3-7.oe2203.x86_64.rpm",
          "samba-4.15.3-7.oe2203.x86_64.rpm",
          "python3-samba-dc-4.15.3-7.oe2203.x86_64.rpm",
          "samba-devel-4.15.3-7.oe2203.x86_64.rpm",
          "python3-samba-test-4.15.3-7.oe2203.x86_64.rpm",
          "samba-libs-4.15.3-7.oe2203.x86_64.rpm",
          "samba-winbind-4.15.3-7.oe2203.x86_64.rpm",
          "libwbclient-devel-4.15.3-7.oe2203.x86_64.rpm",
          "samba-dc-bind-dlz-4.15.3-7.oe2203.x86_64.rpm",
          "samba-winbind-clients-4.15.3-7.oe2203.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS",
        "name": "samba",
        "purl": "pkg:rpm/openEuler/samba\u0026distro=openEuler-22.03-LTS"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.15.3-7.oe2203"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "High"
  },
  "details": "Samba is a suite of programs for Linux and Unix to interoperate with Windows.\r\n\r\nSecurity Fix(es): \r\n\r\nA flaw was found in Samba. Samba AD users can cause the server to access uninitialized data with an LDAP add or modify the request, usually resulting in a segmentation fault.(CVE-2022-32745)\n\nA flaw was found in the Samba AD LDAP server. The AD DC database audit logging module can access LDAP message values freed by a preceding database module, resulting in a use-after-free issue. This issue is only possible when modifying certain privileged attributes, such as userAccountControl.(CVE-2022-32746)\n\nA flaw was found in Samba. Some SMB1 write requests were not correctly range-checked to ensure the client had sent enough data to fulfill the write, allowing server memory contents to be written into the file (or printer) instead of client-supplied data. The client cannot control the area of the server memory written to the file (or printer).(CVE-2022-32742)\n\nA flaw was found in Samba. The KDC accepts kpasswd requests encrypted with any key known to it. By encrypting forged kpasswd requests with its own key, a user can change other users passwords, enabling full domain takeover.(CVE-2022-32744)\n\nAs per samba upstream advisory:All versions of Samba prior to 4.16.x built with Heimdal Kerberos are vulnerable to an Elevation of Privilege attack. If the password of a user expires and need to be changed, a user could get a krbtgt using kpasswd with canonicalization turned on. The KDC should only provide a ticket for kadmin/changepw but returns a krbtgt. So a user could skip the password change and just use the krbtgt to get service tickets and use services in the forest.(CVE-2022-2031)",
  "id": "OESA-2022-1798",
  "modified": "2026-08-06T11:05:04Z",
  "published": "2022-08-05T11:05:04Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1798"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-32745"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-32746"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-32742"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-32744"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-2031"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "samba security update",
  "upstream": [
    "CVE-2022-32745",
    "CVE-2022-32746",
    "CVE-2022-32742",
    "CVE-2022-32744",
    "CVE-2022-2031"
  ]
}



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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…