samba — security advisory
A design flaw was found in Samba's DirSync control implementation, which exposes passwords and secrets in Active Directory to privileged users and Read-Only Domain Controllers (RODCs). This flaw allows RODCs and users possessing the GET_CHANGES right to access all attributes, including sensitive secrets and passwords. Even in a default setup, RODC DC accounts, which should only replicate some passwords, can gain access to all domain secrets, including the vital krbtgt, effectively eliminating the RODC / DC distinction. Furthermore, the vulnerability fails to account for error conditions (fail open), like out-of-memory situations, potentially granting access to secret attributes, even under low-privileged attacker influence.
- Products
- samba
- Affected versions
- 2:4.17.10+dfsg-0+deb12u1, 2:4.17.10+dfsg-0+deb12u1~bpo11+1, 2:4.17.11+dfsg-0+deb12u1, 2:4.17.12+dfsg-0+deb12u1~bpo11+1, 2:4.17.8+dfsg-2, 2:4.17.8+dfsg-2.1, 2:4.17.9+dfsg-0+deb12u1, 2:4.17.9+dfsg-0+deb12u2, 2:4.17.9+dfsg-0+deb12u3, 2:4.17.9+dfsg-0+deb12u3~bpo11+1
- Fixed versions
- 2:4.17.12+dfsg-0+deb12u1, 2:4.19.1+dfsg-1
- CVEs
- CVE-2023-4154
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 15:58 UTC · Revision 1
Source evidence
A design flaw was found in Samba's DirSync control implementation, which exposes passwords and secrets in Active Directory to privileged users and Read-Only Domain Controllers (RODCs). This flaw allows RODCs and users possessing the GET_CHANGES right to access all attributes, including sensitive secrets and passwords. Even in a default setup, RODC DC accounts, which should only replicate some passwords, can gain access to all domain secrets, including the vital krbtgt, effectively eliminating the RODC / DC distinction. Furthermore, the vulnerability fails to account for error conditions (fail open), like out-of-memory situations, potentially granting access to secret attributes, even under low-privileged attacker influence.
osv:DEBIAN-CVE-2023-4154
samba
Fixed versions: 2:4.17.12+dfsg-0+deb12u1
samba
Fixed versions: 2:4.19.1+dfsg-1
samba
Fixed versions: 2:4.19.1+dfsg-1
Complete source record
{
"id": "d8f482b818d58f67df3d5c9f330295df4b2dd6ff2dbce4ede5bb3920da351cbd",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-4154",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2023-4154",
"summary": "A design flaw was found in Samba's DirSync control implementation, which exposes passwords and secrets in Active Directory to privileged users and Read-Only Domain Controllers (RODCs). This flaw allows RODCs and users possessing the GET_CHANGES right to access all attributes, including sensitive secrets and passwords. Even in a default setup, RODC DC accounts, which should only replicate some passwords, can gain access to all domain secrets, including the vital krbtgt, effectively eliminating the RODC / DC distinction. Furthermore, the vulnerability fails to account for error conditions (fail open), like out-of-memory situations, potentially granting access to secret attributes, even under low-privileged attacker influence.",
"evidence": "osv:DEBIAN-CVE-2023-4154",
"products": [
{
"name": {
"value": "samba",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:4.17.12+dfsg-0+deb12u1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "2:4.17.10+dfsg-0+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "2:4.17.10+dfsg-0+deb12u1~bpo11+1",
"evidence": "/affected/0/versions"
},
{
"value": "2:4.17.11+dfsg-0+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "2:4.17.12+dfsg-0+deb12u1~bpo11+1",
"evidence": "/affected/0/versions"
},
{
"value": "2:4.17.8+dfsg-2",
"evidence": "/affected/0/versions"
},
{
"value": "2:4.17.8+dfsg-2.1",
"evidence": "/affected/0/versions"
},
{
"value": "2:4.17.9+dfsg-0+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "2:4.17.9+dfsg-0+deb12u2",
"evidence": "/affected/0/versions"
},
{
"value": "2:4.17.9+dfsg-0+deb12u3",
"evidence": "/affected/0/versions"
},
{
"value": "2:4.17.9+dfsg-0+deb12u3~bpo11+1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "samba",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:4.19.1+dfsg-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "samba",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:4.19.1+dfsg-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2023-4154",
"aliases": [
"DEBIAN-CVE-2023-4154"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:4.17.12+dfsg-0+deb12u1"
}
]
}
],
"package": {
"name": "samba",
"purl": "pkg:deb/debian/samba?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"2:4.17.10+dfsg-0+deb12u1",
"2:4.17.10+dfsg-0+deb12u1~bpo11+1",
"2:4.17.11+dfsg-0+deb12u1",
"2:4.17.12+dfsg-0+deb12u1~bpo11+1",
"2:4.17.8+dfsg-2",
"2:4.17.8+dfsg-2.1",
"2:4.17.9+dfsg-0+deb12u1",
"2:4.17.9+dfsg-0+deb12u2",
"2:4.17.9+dfsg-0+deb12u3",
"2:4.17.9+dfsg-0+deb12u3~bpo11+1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-4154.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:4.19.1+dfsg-1"
}
]
}
],
"package": {
"name": "samba",
"purl": "pkg:deb/debian/samba?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-4154.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:4.19.1+dfsg-1"
}
]
}
],
"package": {
"name": "samba",
"purl": "pkg:deb/debian/samba?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-4154.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T18:02:32.749573907Z",
"provider": "osv",
"upstream": [
"CVE-2023-4154"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2023-4154"
]
},
"related_cves": [
{
"value": "CVE-2023-4154",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 456224,
"published_at": "2023-11-07T20:15:08.683+00:00"
}