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-16T04:38:13.006597779Z
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.13.0
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"
            }
        ]
    }
]