CVE-2020-27840
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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 3.83% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 89.6% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-05-12 14:06Z5 YR AGO
- Last updated
- 2024-08-04 16:25Z2 YR AGO
- Reserved
- 2020-10-27
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-125Out-of-bounds ReadBase
- Data version
- 5.1
- Document digest
- a8917c91781b5783f13399b9bc4ec502c063fabfa3a167b596fa77b72eb833cc
05 Affected products
06 References
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20210326-0007/
- lists.fedoraproject.orgFEDORA-2021-c2d8628d33https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X5J3B6PN5XMXF3OHYBNHDKZ3XFSUGY4L/
- lists.debian.org[debian-lts-announce] 20210331 [SECURITY] [DLA 2611-1] ldb security updatehttps://lists.debian.org/debian-lts-announce/2021/03/msg00036.html
- www.debian.orgDSA-4884https://www.debian.org/security/2021/dsa-4884
- lists.fedoraproject.orgFEDORA-2021-1a8e93a285https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXP3ONIY6MB4C5LDZV4YL5KJCES3UX24/
- lists.fedoraproject.orgFEDORA-2021-c93a3a5d3fhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VLZ74IF2N75VQSIHBL4B3P5WKWQCXSRY/
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=1941400
- www.samba.orghttps://www.samba.org/samba/security/CVE-2020-27840.html
- security.gentoo.orgGLSA-202105-22https://security.gentoo.org/glsa/202105-22
07 Fixed in
Arch Linux
- ldb Fixed in 1:2.3.0-1
- samba Fixed in 4.14.2-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- samba Fixed in 2:4.13.13+dfsg-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- samba Fixed in 2:4.13.13+dfsg-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- samba Fixed in 2:4.13.13+dfsg-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- ldb Fixed in 2:1.1.24-1ubuntu3.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- ldb Fixed in 2:1.2.3-1ubuntu0.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- ldb Fixed in 2:2.0.10-0ubuntu0.20.04.3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- ldb Fixed in 1:1.1.24-0ubuntu0.14.04.2+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.