{"schema_version":"1.7.5","id":"CVE-2020-27840","published":"2021-05-12T15:15:07.543Z","modified":"2026-07-08T05:56:39.419046093Z","related":["SUSE-SU-2021:0944-1","SUSE-SU-2021:0945-1","SUSE-SU-2021:1440-1","SUSE-SU-2021:1444-1","SUSE-SU-2021:1498-1","SUSE-SU-2021:3187-1","SUSE-SU-2022:0283-1","openSUSE-SU-2021:0469-1","openSUSE-SU-2021:0636-1","openSUSE-SU-2021:3187-1","openSUSE-SU-2022:0283-1","openSUSE-SU-2024:10911-1","openSUSE-SU-2024:11365-1"],"details":"A flaw was found in samba. Spaces used in a string around a domain name (DN), while supposed to be ignored, can cause invalid DN strings with spaces to instead write a zero-byte into out-of-bounds memory, resulting in a crash. The highest threat from this vulnerability is to system availability.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/samba-team/samba","events":[{"introduced":"df33344d8eb40221d60c99931690703a11d91bc2"},{"fixed":"bb2f64babf1a2bfb780d0325e859f796d0ce1647"},{"introduced":"3fe82c204f0d88cb6db50b7bd1f798b591a918f8"},{"fixed":"440b75fda7092b88b1986759c40f95ed65c2da24"},{"introduced":"9b49519cae3e967af9ea48dc5fcfb6c145e31db4"},{"fixed":"ed4a04eca53906ab7d69667545b414fa84fe5404"}],"database_specific":{"cpe":"cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.12.13"},{"introduced":"4.13.0"},{"fixed":"4.13.6"},{"introduced":"4.14.0"},{"fixed":"4.14.1"}],"source":"CPE_RANGE"}}],"versions":["samba-4.13.5","samba-4.14.0","samba-4.13.4","samba-4.13.3","samba-4.13.2","samba-4.13.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27840.json"}}],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VLZ74IF2N75VQSIHBL4B3P5WKWQCXSRY/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X5J3B6PN5XMXF3OHYBNHDKZ3XFSUGY4L/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXP3ONIY6MB4C5LDZV4YL5KJCES3UX24/"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00036.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202105-22"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210326-0007/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4884"},{"type":"ADVISORY","url":"https://www.samba.org/samba/security/CVE-2020-27840.html"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1941400"}],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"9.0"},{"last_affected":"9.0"},{"introduced":"10.0"},{"last_affected":"10.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux"},{"cpes":["cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"32"},{"last_affected":"32"},{"introduced":"33"},{"last_affected":"33"},{"introduced":"34"},{"last_affected":"34"}],"source":"CPE_STRING","vendor_product":"fedoraproject:fedora"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}