CVE-2021-20277

Source
https://cve.org/CVERecord?id=CVE-2021-20277
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20277.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-20277
Downstream
Related
Published
2021-05-12T14:15:11.140Z
Modified
2026-04-02T06:46:38.484554Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in Samba's libldb. Multiple, consecutive leading spaces in an LDAP attribute can lead to an out-of-bounds memory write, leading to a crash of the LDAP server process handling the request. The highest threat from this vulnerability is to system availability.

References

Affected packages

Git / github.com/samba-team/samba

Affected ranges

Type
GIT
Repo
https://github.com/samba-team/samba
Events
Database specific
{
    "versions": [
        {
            "introduced": "4.0.0"
        },
        {
            "fixed": "4.12.13"
        },
        {
            "introduced": "4.13.0"
        },
        {
            "fixed": "4.13.6"
        },
        {
            "introduced": "4.14.0"
        },
        {
            "fixed": "4.14.1"
        }
    ]
}

Affected versions

samba-4.*
samba-4.0.0
samba-4.0.1
samba-4.0.10
samba-4.0.11
samba-4.0.12
samba-4.0.13
samba-4.0.14
samba-4.0.15
samba-4.0.16
samba-4.0.17
samba-4.0.18
samba-4.0.19
samba-4.0.2
samba-4.0.20
samba-4.0.21
samba-4.0.22
samba-4.0.23
samba-4.0.24
samba-4.0.25
samba-4.0.26
samba-4.0.3
samba-4.0.4
samba-4.0.5
samba-4.0.6
samba-4.0.7
samba-4.0.8
samba-4.0.9
samba-4.13.0
samba-4.13.1
samba-4.13.2
samba-4.13.3
samba-4.13.4
samba-4.13.5
samba-4.14.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20277.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "9.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "10.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "32"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "33"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "34"
            }
        ]
    }
]