{"id":"CVE-2016-2118","details":"The MS-SAMR and MS-LSAD protocol implementations in Samba 3.x and 4.x before 4.2.11, 4.3.x before 4.3.8, and 4.4.x before 4.4.2 mishandle DCERPC connections, which allows man-in-the-middle attackers to perform protocol-downgrade attacks and impersonate users by modifying the client-server data stream, aka \"BADLOCK.\"","modified":"2026-03-15T22:05:50.288283Z","published":"2016-04-12T23:59:37.497Z","related":["MGASA-2016-0151","SUSE-SU-2016:1022-1","SUSE-SU-2016:1023-1","SUSE-SU-2016:1024-1","SUSE-SU-2016:1028-1","openSUSE-SU-2024:10069-1"],"references":[{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0612.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0619.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0620.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0621.html"},{"type":"ADVISORY","url":"http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.458012"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2950-3"},{"type":"ADVISORY","url":"https://www.samba.org/samba/latest_news.html#4.4.2"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0625.html"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1035533"},{"type":"ADVISORY","url":"https://access.redhat.com/security/vulnerabilities/badlock"},{"type":"ADVISORY","url":"https://bto.bluecoat.com/security-advisory/sa122"},{"type":"ADVISORY","url":"https://kb.netapp.com/support/s/article/ka51A0000008SXzQAM/smb-vulnerabilities-in-multiple-netapp-products"},{"type":"ADVISORY","url":"https://www.samba.org/samba/history/samba-4.2.10.html"},{"type":"ADVISORY","url":"http://badlock.org/"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0613.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0618.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0623.html"},{"type":"ADVISORY","url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05166182"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00021.html"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2950-1"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2950-2"},{"type":"ADVISORY","url":"https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes"},{"type":"ADVISORY","url":"https://www.kb.cert.org/vuls/id/813296"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00022.html"},{"type":"ADVISORY","url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html"},{"type":"ADVISORY","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182185.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00023.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00024.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0614.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0624.html"},{"type":"ADVISORY","url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05162399"},{"type":"ADVISORY","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182288.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00020.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-0611.html"},{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3548"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/86002"},{"type":"ADVISORY","url":"https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40196"},{"type":"ADVISORY","url":"https://www.samba.org/samba/security/CVE-2016-2118.html"},{"type":"ADVISORY","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182272.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.html"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2950-4"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2950-5"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201612-47"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/samba-team/samba","events":[{"introduced":"b1d9ddf738c6e59e489bc9c339ce6de5988b689e"},{"fixed":"343f384dd39bf05867461fde4c79167604d99f98"},{"introduced":"b85f6018c803fb9aad82820d4b5505179ec5bac3"},{"fixed":"6597749526d747283d435ea37eee5890fe7c46cd"},{"introduced":"30812c414bb0ceb95abae08c35b94b2f97be4c5c"},{"fixed":"c8180d1f65fe205e8847b08355622e8cec162a1d"}],"database_specific":{"versions":[{"introduced":"3.6.0"},{"fixed":"4.2.10"},{"introduced":"4.3.0"},{"fixed":"4.3.7"},{"introduced":"4.4.0"},{"fixed":"4.4.1"}]}}],"versions":["samba-4.3.0","samba-4.3.1","samba-4.3.2","samba-4.3.3","samba-4.3.4","samba-4.3.5","samba-4.3.6","samba-4.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-2118.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"12.04"}]},{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"15.10"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}