CVE-2020-27840
JSON

7.5high

A flaw was found in samba.

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
3.86% (higher than 91% of CVEs)
Published
Last changed
Assigned by
redhat

Description

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

Product or packageVersionsReported by
sambasamba 4.14.1, samba 4.13.6, samba 4.12.13CVE List
samba sambafrom 4.0.0 before 4.12.13, from 4.13.0 before 4.13.6, from 4.14.0 before 4.14.1NVD
debian debian_linux9.0, 10.0NVD
fedoraproject fedora32, 33, 34NVD

All scores

NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Se ha encontrado un fallo en samba. Los espacios usados en una cadena alrededor de un nombre de dominio (DN), aunque se supone que deben ser ignorados, pueden causar cadenas DN no válidas con espacios en lugar de escribir un byte cero en la memoria fuera de límites, resultando en un bloqueo. La mayor amenaza de esta vulnerabilidad es la disponibilidad del sistema

References

https://security.netapp.com/advisory/ntap-20210326-0007/third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X5J3B6PN5XMXF3OHYBNHDKZ3XFSUGY4L/vendor-advisory
https://lists.debian.org/debian-lts-announce/2021/03/msg00036.htmlmailing-list, third-party-advisory
https://www.debian.org/security/2021/dsa-4884third-party-advisory, vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXP3ONIY6MB4C5LDZV4YL5KJCES3UX24/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VLZ74IF2N75VQSIHBL4B3P5WKWQCXSRY/vendor-advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1941400issue-tracking, third-party-advisory
https://www.samba.org/samba/security/CVE-2020-27840.htmlvendor-advisory
https://security.gentoo.org/glsa/202105-22third-party-advisory, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2020-27840 changed 2024-08-04CVE Terms of Use
NVDCVE-2020-27840 changed 2026-06-17Public domain