OESA-2023-1756 (CVE-2023-3961)

Vulnerability from osv_openeuler – Published: 2023-10-20 11:06 – Updated: 2026-08-06 11:06 – Source website
VLAI
Summary
samba security update
Details

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

Security Fix(es):

A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Samba typically uses this mechanism to connect SMB clients to remote procedure call (RPC) services like SAMR LSA or SPOOLSS, which Samba initiates on demand. However, due to inadequate sanitization of incoming client pipe names, allowing a client to send a pipe name containing Unix directory traversal characters (../). This could result in SMB clients connecting as root to Unix domain sockets outside the private directory. If an attacker or client managed to send a pipe name resolving to an external service using an existing Unix domain socket, it could potentially lead to unauthorized access to the service and consequential adverse events, including compromise or service crashes.(CVE-2023-3961)

A vulnerability was discovered in Samba, where the flaw allows SMB clients to truncate files, even with read-only permissions when the Samba VFS module "acl_xattr" is configured with "acl_xattr:ignore system acls = yes". The SMB protocol allows opening files when the client requests read-only access but then implicitly truncates the opened file to 0 bytes if the client specifies a separate OVERWRITE create disposition request. The issue arises in configurations that bypass kernel file system permissions checks, relying solely on Samba's permissions.(CVE-2023-4091)

A vulnerability was found in Samba's "rpcecho" development server, a non-Windows RPC server used to test Samba's DCE/RPC stack elements. This vulnerability stems from an RPC function that can be blocked indefinitely. The issue arises because the "rpcecho" service operates with only one worker in the main RPC task, allowing calls to the "rpcecho" server to be blocked for a specified time, causing service disruptions. This disruption is triggered by a "sleep()" call in the "dcesrv_echo_TestSleep()" function under specific conditions. Authenticated users or attackers can exploit this vulnerability to make calls to the "rpcecho" server, requesting it to block for a specified duration, effectively disrupting most services and leading to a complete denial of service on the AD DC. The DoS affects all other services as "rpcecho" runs in the main RPC task.(CVE-2023-42669)

A flaw was found in Samba. It is susceptible to a vulnerability where multiple incompatible RPC listeners can be initiated, causing disruptions in the AD DC service. When Samba's RPC server experiences a high load or unresponsiveness, servers intended for non-AD DC purposes (for example, NT4-emulation "classic DCs") can erroneously start and compete for the same unix domain sockets. This issue leads to partial query responses from the AD DC, causing issues such as "The procedure number is out of range" when using tools like Active Directory Users. This flaw allows an attacker to disrupt AD DC services.(CVE-2023-42670)

Impacted products
Ecosystem Package Version
openEuler:22.03-LTS-SP1 samba
pkg:rpm/openEuler/samba&distro=openEuler-22.03-LTS-SP1
Affected: < 4.17.5-8.oe2203sp1 (ecosystem)

{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "samba-dc-bind-dlz-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-winbind-modules-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-winbind-krb5-locator-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-common-4.17.5-8.oe2203sp1.aarch64.rpm",
          "libwbclient-devel-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-dc-provision-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-winbind-4.17.5-8.oe2203sp1.aarch64.rpm",
          "libsmbclient-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-winbind-clients-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-debuginfo-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-devel-4.17.5-8.oe2203sp1.aarch64.rpm",
          "python3-samba-dc-4.17.5-8.oe2203sp1.aarch64.rpm",
          "ctdb-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-usershares-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-debugsource-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-help-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-common-tools-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-dc-libs-4.17.5-8.oe2203sp1.aarch64.rpm",
          "python3-samba-4.17.5-8.oe2203sp1.aarch64.rpm",
          "libwbclient-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-dc-4.17.5-8.oe2203sp1.aarch64.rpm",
          "libsmbclient-devel-4.17.5-8.oe2203sp1.aarch64.rpm",
          "python3-samba-test-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-client-libs-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-krb5-printing-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-test-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-libs-4.17.5-8.oe2203sp1.aarch64.rpm",
          "samba-client-4.17.5-8.oe2203sp1.aarch64.rpm"
        ],
        "noarch": [
          "samba-pidl-4.17.5-8.oe2203sp1.noarch.rpm"
        ],
        "src": [
          "samba-4.17.5-8.oe2203sp1.src.rpm"
        ],
        "x86_64": [
          "samba-common-tools-4.17.5-8.oe2203sp1.x86_64.rpm",
          "libsmbclient-devel-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-debuginfo-4.17.5-8.oe2203sp1.x86_64.rpm",
          "python3-samba-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-client-libs-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-krb5-printing-4.17.5-8.oe2203sp1.x86_64.rpm",
          "libwbclient-devel-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-winbind-modules-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-dc-bind-dlz-4.17.5-8.oe2203sp1.x86_64.rpm",
          "libwbclient-4.17.5-8.oe2203sp1.x86_64.rpm",
          "libsmbclient-4.17.5-8.oe2203sp1.x86_64.rpm",
          "ctdb-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-client-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-libs-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-devel-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-test-4.17.5-8.oe2203sp1.x86_64.rpm",
          "python3-samba-test-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-dc-libs-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-common-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-winbind-4.17.5-8.oe2203sp1.x86_64.rpm",
          "python3-samba-dc-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-dc-provision-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-winbind-krb5-locator-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-dc-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-usershares-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-debugsource-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-winbind-clients-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-vfs-glusterfs-4.17.5-8.oe2203sp1.x86_64.rpm",
          "samba-help-4.17.5-8.oe2203sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP1",
        "name": "samba",
        "purl": "pkg:rpm/openEuler/samba\u0026distro=openEuler-22.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.17.5-8.oe2203sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "Medium"
  },
  "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 path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Samba typically uses this mechanism to connect SMB clients to remote procedure call (RPC) services like SAMR LSA or SPOOLSS, which Samba initiates on demand. However, due to inadequate sanitization of incoming client pipe names, allowing a client to send a pipe name containing Unix directory traversal characters (../). This could result in SMB clients connecting as root to Unix domain sockets outside the private directory. If an attacker or client managed to send a pipe name resolving to an external service using an existing Unix domain socket, it could potentially lead to unauthorized access to the service and consequential adverse events, including compromise or service crashes.(CVE-2023-3961)\r\n\r\nA vulnerability was discovered in Samba, where the flaw allows SMB clients to truncate files, even with read-only permissions when the Samba VFS module \u0026quot;acl_xattr\u0026quot; is configured with \u0026quot;acl_xattr:ignore system acls = yes\u0026quot;. The SMB protocol allows opening files when the client requests read-only access but then implicitly truncates the opened file to 0 bytes if the client specifies a separate OVERWRITE create disposition request. The issue arises in configurations that bypass kernel file system permissions checks, relying solely on Samba\u0026apos;s permissions.(CVE-2023-4091)\r\n\r\nA vulnerability was found in Samba\u0026apos;s \u0026quot;rpcecho\u0026quot; development server, a non-Windows RPC server used to test Samba\u0026apos;s DCE/RPC stack elements. This vulnerability stems from an RPC function that can be blocked indefinitely. The issue arises because the \u0026quot;rpcecho\u0026quot; service operates with only one worker in the main RPC task, allowing calls to the \u0026quot;rpcecho\u0026quot; server to be blocked for a specified time, causing service disruptions. This disruption is triggered by a \u0026quot;sleep()\u0026quot; call in the \u0026quot;dcesrv_echo_TestSleep()\u0026quot; function under specific conditions. Authenticated users or attackers can exploit this vulnerability to make calls to the \u0026quot;rpcecho\u0026quot; server, requesting it to block for a specified duration, effectively disrupting most services and leading to a complete denial of service on the AD DC. The DoS affects all other services as \u0026quot;rpcecho\u0026quot; runs in the main RPC task.(CVE-2023-42669)\r\n\r\nA flaw was found in Samba. It is susceptible to a vulnerability where multiple incompatible RPC listeners can be initiated, causing disruptions in the AD DC service. When Samba\u0026apos;s RPC server experiences a high load or unresponsiveness, servers intended for non-AD DC purposes (for example, NT4-emulation \u0026quot;classic DCs\u0026quot;) can erroneously start and compete for the same unix domain sockets. This issue leads to partial query responses from the AD DC, causing issues such as \u0026quot;The procedure number is out of range\u0026quot; when using tools like Active Directory Users. This flaw allows an attacker to disrupt AD DC services.(CVE-2023-42670)",
  "id": "OESA-2023-1756",
  "modified": "2026-08-06T11:06:12Z",
  "published": "2023-10-20T11:06:12Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1756"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-3961"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-4091"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-42669"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-42670"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "samba security update",
  "upstream": [
    "CVE-2023-3961",
    "CVE-2023-4091",
    "CVE-2023-42669",
    "CVE-2023-42670"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    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.