Security Resilience

CVE-2023-3347

Samba 4.17.0 – 4.17.10

Published
20 July 2023
Modified
07 November 2026
Patch / advisory
CVSS Score v3.1 5.9
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Score 0.0044 39th percentile
Risk Priority 46 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-3347 is a medium-severity Improper Verification of Cryptographic Signature (CWE-347) vulnerability in Samba. Its CVSS base score is 5.9 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Invalid Code Signature (T1036.001); ranked at the 39th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

A vulnerability was found in Samba's SMB2 packet signing mechanism. The SMB2 packet signing is not enforced if an admin configured "server signing = required" or for SMB2 connections to Domain Controllers where SMB2 packet signing is mandatory. This flaw…

more

allows an attacker to perform attacks, such as a man-in-the-middle attack, by intercepting the network traffic and modifying the SMB2 messages between client and server, affecting the integrity of the data.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1036.001 Invalid Code Signature Stealth
Adversaries may attempt to mimic features of valid code signatures to increase the chance of deceiving a user, analyst, or tool.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1553 Subvert Trust Controls Defense Impairment
Adversaries may undermine security controls that will either warn users of untrusted activity or prevent execution of untrusted programs.
T1659 Content Injection Initial Access
Adversaries may gain access and continuously communicate with victims by injecting malicious content into systems through online network traffic.
T1565.002 Transmitted Data Manipulation Impact
Adversaries may alter data en route to storage or other systems in order to manipulate external outcomes or hide activity, thus threatening the integrity of the data.
T1036 Masquerading Stealth
Adversaries may attempt to manipulate features of their artifacts to make them appear legitimate or benign to users and/or security tools.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-4091Same product: Samba Samba
CVE-2023-3961Same product: Samba Samba
CVE-2023-34968Same product: Samba Samba
CVE-2023-34967Same product: Samba Samba
CVE-2023-34966Same product: Samba Samba
CVE-2023-42811Shared CWE-347
CVE-2023-42670Same product: Samba Samba
CVE-2024-49393Shared CWE-347
CVE-2024-49394Shared CWE-347
CVE-2026-4408Same product: Samba Samba

Affected Assets

samba
samba
4.17.0 — 4.17.10 · 4.18.0 — 4.18.5
redhat
storage
3.0
redhat
enterprise linux
8.0, 9.0
fedoraproject
fedora
38

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 20 hardening rules · 5 OS baselines
Validate
Prove the fix (OWASP ASVS)

—

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-347

Requires verification of digital signatures using organization-approved certificates before installation, directly preventing improper verification of cryptographic signatures.

addresses: CWE-347

Component authenticity commonly depends on cryptographic signatures; the control enforces proper verification of those signatures.

addresses: CWE-347

PKI certificates under an approved policy require cryptographic signature verification on issuance and validation.

addresses: CWE-347

Requires cryptographic signatures on authoritative data and support for verifying the chain of trust.

addresses: CWE-347

Mandates verification of cryptographic signatures (e.g., DNSSEC RRSIG) on resolution responses, addressing missing or bypassed signature checks.

addresses: CWE-924

The control directly mandates integrity protection for transmitted information, addressing failures to enforce message integrity in transit.

addresses: CWE-347

Integrity tools commonly rely on cryptographic signatures whose improper validation this weakness covers.

addresses: CWE-347

Authenticity validation commonly relies on cryptographic signature or certificate checks that this control enforces.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.DS-02 full match
blocks

Directly requires integrity protection (e.g., signatures/hashes) for data-in-transit, which prevents the described weakness while also addressing confidentiality/availability.

PR.DS-01 mostly match
blocks

Digital signatures are explicitly cited to protect integrity of data-at-rest, so proper verification directly mitigates the weakness.

ID.RA-09 partial match
blocks

Requires assessing authenticity and integrity of acquired assets, which commonly relies on signature verification but is limited to pre-acquisition.

PR.PS-06 partial match
blocks

Secure SDLC practices include code signing and signature verification requirements, addressing the weakness during development.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

removes

A.8.24 mandates cryptographic protection of integrity for transmitted information (PURPOSE clause names integrity; item (c) names transmitted information; item (f) names approved cryptographic solutions and usage practices). CWE-924 is the absence of message-integrity protection in a communication channel. Applying the clause where it was not applied before requires the developer to implement cryptographic integrity protection (MAC, digital signature, authenticated channel), and the weakness stops being present — the same logic the owner used for A.8.24 removes CWE-311/CWE-312 = full.

finds

A.8.29's source reach (code review, SAST) catches the common case — missing or obviously misconfigured signature verification calls — and runtime reach (penetration testing) catches cases where unsigned or malformed data is accepted; the remainder is verification logic that is present but subtly incorrect (e.g., a verify flag set wrong, a check that accepts a null signature), which requires careful review or targeted test cases to surface.

blocks

Requires secure information transfer procedures that can include integrity checks.

prevents

Training technical teams on cryptographic practices (which A.6.3's education-and-training half explicitly covers) reduces signature-verification omissions where the defect is a knowledge gap or a deliberate shortcut, but most CWE-347 instances are implementation errors — wrong API, missing verify call, incorrect verification logic — that training does not reach, mirroring the A.6.3 vs CWE-598 anchor.

blocks

A.8.20 item (e) mandates confidentiality and integrity of data passing over networks, and items (k), (l), (n) provide network-layer integrity mechanisms (hardening, segregated admin channels, disabling vulnerable protocols) that block exploitation during the network portion of transit — the same scope logic as the A.8.20 vs CWE-523 anchor. The product-level weakness remains: the receiving endpoint still does not check integrity itself, so if network-layer integrity is terminated at a gateway, bypassed on an alternate path, or absent on a local segment the clause does not reach, the message can still be modified in transit and the product will accept it.

blocks

A.8.21 mandates security features for network services including encryption and connection controls; well implemented, these provide integrity protection over the network service portion of transit, masking the vulnerability during that portion — analogous to A.8.20 vs CWE-523 — but the product-level failure to enforce integrity remains, so end-to-end exploitation is not blocked.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

Oracle Linux 8 (5 rules)
  • V-248574 YUM must be configured to prevent the installation of patches, service packs, device drivers, or OL 8 system components that have not been digitally signed using a certificate that is recognized and approved by the organization. blocks CWE-347, CWE-924
  • V-248575 OL 8 must prevent the installation of software, patches, service packs, device drivers, or operating system components of local packages without verification they have been digitally signed using a certificate that is issued by a Certificate Authority (CA) that is recognized and approved by the organization. blocks CWE-347
  • V-248823 OL 8 must not have the telnet-server package installed. blocks CWE-924
Oracle Linux 9 (2 rules)
  • V-271525 OL 9 must have GPG signature verification enabled for all software repositories. blocks CWE-347
  • V-271523 OL 9 must check the GPG signature of locally installed software packages before installation. blocks CWE-347
RHEL 7 (2 rules)
  • V-204447 The Red Hat Enterprise Linux operating system must prevent the installation of software, patches, service packs, device drivers, or operating system components from a repository without verification they have been digitally signed using a certificate that is issued by a Certificate Authority (CA) that is recognized and approved by the organization. blocks CWE-347
  • V-204448 The Red Hat Enterprise Linux operating system must prevent the installation of software, patches, service packs, device drivers, or operating system components of local packages without verification they have been digitally signed using a certificate that is issued by a Certificate Authority (CA) that is recognized and approved by the organization. blocks CWE-347
RHEL 8 (1 rule)
  • V-230264 RHEL 8 must prevent the installation of software, patches, service packs, device drivers, or operating system components from a repository without verification they have been digitally signed using a certificate that is issued by a Certificate Authority (CA) that is recognized and approved by the organization. blocks CWE-347
RHEL 9 (1 rule)
  • V-257822 RHEL 9 must have GPG signature verification enabled for all software repositories. blocks CWE-347

References