CVEfocus › CVE database › CVE-2007-4138

CVE-2007-4138

EPSS 0.7% (higher than 55% of CVEs)Published 2007-09-14Updated 2024-08-07Assigner: redhat

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.

What to do

Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Debian 14sambaFixed3.0.26-1DEBIAN-CVE-2007-4138
Debian 13sambaFixed3.0.26-1DEBIAN-CVE-2007-4138
Debian 12sambaFixed3.0.26-1DEBIAN-CVE-2007-4138
Red Hat Enterprise Linux 5sambaFixed0:3.0.25b-1.el5_1.2RHSA-2007:1017
Red Hat Enterprise Linux 5samba-clientFixed0:3.0.25b-1.el5_1.2RHSA-2007:1017
Red Hat Enterprise Linux 5samba-commonFixed0:3.0.25b-1.el5_1.2RHSA-2007:1017
Red Hat Enterprise Linux 5samba-swatFixed0:3.0.25b-1.el5_1.2RHSA-2007:1017
Red Hat Enterprise Linux 4sambaFixed0:3.0.25b-1.el4_6.2RHSA-2007:1016
Red Hat Enterprise Linux 4samba-clientFixed0:3.0.25b-1.el4_6.2RHSA-2007:1016
Red Hat Enterprise Linux 4samba-commonFixed0:3.0.25b-1.el4_6.2RHSA-2007:1016
Red Hat Enterprise Linux 4samba-swatFixed0:3.0.25b-1.el4_6.2RHSA-2007:1016

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.