A flaw was found in the way samba implemented an RPC endpoint emulating the Windows registry service API.
A flaw was found in the way samba implemented an RPC endpoint emulating the Windows registry service API. An unprivileged attacker could use this flaw to create a new registry hive file anywhere they have unix permissions which could lead to creation of a new file in the Samba share. Versions before 4.8.11, 4.9.6 and 4.10.2 are vulnerable.
- Published
- Apr 9, 2019
- Updated
- Jun 16, 2026
- EPSS
- 3.2% · 88th percentile
- CWE
- CWE-22
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 21 / 40 · 5.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.2%
CNA vs NVD score
- NVD
- 5.4
- CNA · redhat
- 4.2
- 1.2 point gap
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| samba | samba | cpe:2.3:a:samba:samba |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| redhat | gluster storage | cpe:2.3:a:redhat:gluster_storage |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux8.0
- fedoraproject fedora28
- fedoraproject fedora29
- fedoraproject fedora30
- opensuse leap42.3
- redhat enterprise linux7.0
- redhat gluster storage3.0
- samba samba3.2.0 and later · before 4.8.11
- samba samba4.10.0 and later · before 4.10.2
- samba samba4.9.0 and later · before 4.9.6
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
The Samba Project samba
- 4.8.11, 4.9.6, 4.10.2affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | samba | from 3.2.0 · before 4.8.11-r0 | 4.8.11-r0 |
| Alpine:v3.6 | samba | from 3.2.0 · before 4.6.16-r1 | 4.6.16-r1 |
| Alpine:v3.7 | samba | from 3.2.0 · before 4.7.6-r3 | 4.7.6-r3 |
| Debian:12 | samba | before 2:4.9.5+dfsg-3 | 2:4.9.5+dfsg-3 |
| Debian:8 | samba | before 2:4.2.14+dfsg-0+deb8u12 | 2:4.2.14+dfsg-0+deb8u12 |
| Debian:9 | samba | before 2:4.5.16+dfsg-1+deb9u1 | 2:4.5.16+dfsg-1+deb9u1 |
| openSUSE:Leap 15.0 | ldb | before 1.2.4-lp150.10.1 | 1.2.4-lp150.10.1 |
| openSUSE:Leap 15.0 | samba | before 4.7.11+git.153.b36ceaf2235-lp150.3.14.1 | 4.7.11+git.153.b36ceaf2235-lp150.3.14.1 |
| Red Hat:enterprise_linux:7::client | libsmbclient | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
| Red Hat:enterprise_linux:7::client | libsmbclient-devel | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
| Red Hat:enterprise_linux:7::client | libwbclient | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
| Red Hat:enterprise_linux:7::client | libwbclient-devel | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
| Red Hat:enterprise_linux:7::client | samba | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
| Red Hat:enterprise_linux:7::client | samba-client | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
| Red Hat:enterprise_linux:7::client | samba-client-libs | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
| Red Hat:enterprise_linux:7::client | samba-common | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
| Red Hat:enterprise_linux:7::client | samba-common-libs | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
| Red Hat:enterprise_linux:7::client | samba-common-tools | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
| Red Hat:enterprise_linux:7::client | samba-dc | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
| Red Hat:enterprise_linux:7::client | samba-dc-libs | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
| Red Hat:enterprise_linux:7::client | samba-debuginfo | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
| Red Hat:enterprise_linux:7::client | samba-devel | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
| Red Hat:enterprise_linux:7::client | samba-krb5-printing | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
| Red Hat:enterprise_linux:7::client | samba-libs | before 0:4.9.1-6.el7 | 0:4.9.1-6.el7 |
+96
Same product
samba: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7494Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious cliKEV99Now
- CVE-2015-0240The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x befor66This week
- CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1, al66This week
- CVE-2003-0201Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before 2.2.8a, 2.0.10 and earlier 2.0.x versions, and Samba-TNG 65This week
- CVE-2007-2446Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through 3.0.25rc3 allow remote attackers to execute arbitrary63This week
- CVE-2012-1182The RPC code generator in Samba 3.x before 3.4.16, 3.5.x before 3.5.14, and 3.6.x before 3.6.4 does not implement validation of an array len62This week
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:samba | 4.8.11-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:samba | 2:4.9.5+dfsg-3 · Debian:12 | Package registry (OSV) |
| opensuse:ldb | 1.2.4-lp150.10.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| opensuse:samba | 4.7.11+git.153.b36ceaf2235-lp150.3.14.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| red hat:ctdb | 0:4.9.8-105.el7rhgs · Red Hat:storage:3.4:samba:el7 | Package registry (OSV) |
| red hat:libsmbclient | 0:4.9.8-105.el7rhgs · Red Hat:storage:3.4:samba:el7 | Package registry (OSV) |
| red hat:libsmbclient-devel | 0:4.9.8-105.el7rhgs · Red Hat:storage:3.4:samba:el7 | Package registry (OSV) |
| red hat:libtalloc | 0:2.1.14-3.el7rhgs · Red Hat:storage:3.4:samba:el7 | Package registry (OSV) |
| red hat:libtalloc-debuginfo | 0:2.1.14-3.el7rhgs · Red Hat:storage:3.4:samba:el7 | Package registry (OSV) |
| red hat:libtalloc-devel | 0:2.1.14-3.el7rhgs · Red Hat:storage:3.4:samba:el7 | Package registry (OSV) |
| red hat:libtdb | 0:1.3.16-3.el7rhgs · Red Hat:storage:3.4:samba:el7 | Package registry (OSV) |
| red hat:libtdb-debuginfo | 0:1.3.16-3.el7rhgs · Red Hat:storage:3.4:samba:el7 | Package registry (OSV) |
| red hat:libtdb-devel | 0:1.3.16-3.el7rhgs · Red Hat:storage:3.4:samba:el7 | Package registry (OSV) |
| red hat:libtevent | 0:0.9.37-3.el7rhgs · Red Hat:storage:3.4:samba:el7 | Package registry (OSV) |
| red hat:libtevent-debuginfo | 0:0.9.37-3.el7rhgs · Red Hat:storage:3.4:samba:el7 | Package registry (OSV) |
| red hat:libtevent-devel | 0:0.9.37-3.el7rhgs · Red Hat:storage:3.4:samba:el7 | Package registry (OSV) |
| suse:avahi | 0.6.32-5.5.3 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:avahi-glib2 | 0.6.32-5.5.8 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:cups | 2.2.7-3.11.7 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:gamin-devel | 0.1.10-3.2.3 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:gnutls | 3.6.2-6.5.4 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:ldb | 1.2.4-3.12.1 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:libnettle | 3.4.1-4.9.1 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:libtasn1 | 4.13-4.2.1 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:p11-kit | 0.23.2-4.2.1 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:samba | 4.6.16+git.154.2998451b912-3.40.3 · SUSE:Linux Enterprise Desktop 12 SP3 | Package registry (OSV) |
| suse:talloc | 2.1.11-3.5.3 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:talloc-man | 2.1.11-3.5.3 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-19-036 · Apr 9, 2019(Samba Güvenlik Güncellemeleri Yayınladı)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- low · data or configuration can be modified
- Availability
- low · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- Low
- Availability impact
- Low
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
nvd-primary
Root cause
A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) { return res.sendStatus(400);}res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-security-announce/2019-04/msg00050.html
- lists.opensuse.org/opensuse-security-announce/2019-04/msg00106.html
- access.redhat.com/errata/RHSA-2019:1966
- access.redhat.com/errata/RHSA-2019:1967
- access.redhat.com/errata/RHSA-2019:2099
- access.redhat.com/errata/RHSA-2019:3582
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3880
- lists.debian.org/debian-lts-announce/2019/04/msg00013.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6354GALK73CZWQKFUG7AWB6EIEGFMF62/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSRLRO7BPRFETVFZ4TVJL2VFZEPHKJY4/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JTJVFA3RZ6G2IZDTVKLHRMX6QBYA4GPA/
- security.netapp.com/advisory/ntap-20190411-0004/
- support.f5.com/csp/article/K20804356
- www.samba.org/samba/security/CVE-2019-3880.html
- www.synology.com/security/advisory/Synology_SA_19_15
- access.redhat.com/security/cve/cve-2019-3880
Vendor advisories and official records. Exploit/PoC links are deliberately left out.