CVE-2023-3347
Samba 4.17.0 – 4.17.10
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NCVSS 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
- 🇪🇺 ENISA EUVD: EUVD-2023-44015
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
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 20 hardening rules · 5 OS baselines
—
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.
Requires verification of digital signatures using organization-approved certificates before installation, directly preventing improper verification of cryptographic signatures.
Component authenticity commonly depends on cryptographic signatures; the control enforces proper verification of those signatures.
PKI certificates under an approved policy require cryptographic signature verification on issuance and validation.
Requires cryptographic signatures on authoritative data and support for verifying the chain of trust.
Mandates verification of cryptographic signatures (e.g., DNSSEC RRSIG) on resolution responses, addressing missing or bypassed signature checks.
The control directly mandates integrity protection for transmitted information, addressing failures to enforce message integrity in transit.
Integrity tools commonly rely on cryptographic signatures whose improper validation this weakness covers.
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.
Directly requires integrity protection (e.g., signatures/hashes) for data-in-transit, which prevents the described weakness while also addressing confidentiality/availability.
Digital signatures are explicitly cited to protect integrity of data-at-rest, so proper verification directly mitigates the weakness.
Requires assessing authenticity and integrity of acquired assets, which commonly relies on signature verification but is limited to pre-acquisition.
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.
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.
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.
Requires secure information transfer procedures that can include integrity checks.
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.
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.
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