| Name | CVE-2007-4138 |
| Description | The Winbind nss_info extension (nsswitch/idmap_ad.c) in idmap_ad.so in Samba 3.0.25 through 3.0.25c, when the "winbind nss info" option is set to rfc2307 or sfu, grants all local users the privileges of gid 0 when the (1) RFC2307 or (2) Services for UNIX (SFU) primary group attribute is not defined. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| samba (PTS) | bullseye | 2:4.13.13+dfsg-1~deb11u6 | fixed |
| bullseye (security) | 2:4.13.13+dfsg-1~deb11u7 | fixed | |
| bookworm | 2:4.17.12+dfsg-0+deb12u2 | fixed | |
| bookworm (security) | 2:4.17.12+dfsg-0+deb12u1 | fixed | |
| trixie | 2:4.22.6+dfsg-0+deb13u1 | fixed | |
| forky, sid | 2:4.23.3+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| samba | source | sarge | (not affected) | |||
| samba | source | etch | (not affected) | |||
| samba | source | (unstable) | 3.0.26-1 |
[etch] - samba <not-affected> (Vulnerable code was introduced in 3.0.25)
[sarge] - samba <not-affected> (Vulnerable code was introduced in 3.0.25)