CVE-2021-20277

Aliases:RHSA-2021:1072RHSA-2021:1197RHSA-2021:1213RHSA-2021:1214RHSA-2021:2331RHSA-2021:2786DEBIAN-CVE-2021-20277ALPINE-CVE-2021-20277
Modified
Published: 12 May 2021, 13:54
Last modified:03 Aug 2024, 17:37

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
7.5 HIGH
v3.1 (nvd)
EPSS Score
4.33% LOW
4% probability -10.58%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

12 May 2021, 13:54
Published
Vulnerability first disclosed
03 Aug 2024, 17:37
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • v3.1HIGHScore: 7.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
  • v2.0MEDIUMScore: 5AV:N/AC:L/Au:N/C:N/I:N/A:P

EPSS Trends

Current EPSS score: 4.33% Percentile: 91%

Techniques & Countermeasures

  • CWE-125Out-of-bounds Read

    The product reads data past the end, or before the beginning, of the intended buffer.

  • CWE-787Out-of-bounds Write

    The product writes data past the end, or before the beginning, of the intended buffer.

Affected Systems

  • alpinesamba

    ≥ 4.0.0, < 4.12.14-r0 | ≥ 4.0.0, < 4.13.7-r0 | ≥ 4.0.0, < 4.14.2-r0 | ≥ 4.0.0, < 4.14.2-r0 | ≥ 4.0.0, < 4.14.2-r0 | ≥ 4.0.0, < 4.14.2-r0 | ≥ 4.0.0, < 4.14.2-r0 | ≥ 4.0.0, < 4.14.2-r0 | ≥ 4.0.0, < 4.14.2-r0 | ≥ 4.0.0, < 4.14.2-r0 | ≥ 4.0.0, < 4.14.2-r0 | ≥ 4.0.0, < 4.14.2-r0 | ≥ 4.0.0, < 4.14.2-r0

  • debianldb

    < 2:2.2.0-3.1

  • debiansamba

    all | < 2:4.13.13+dfsg-1 | < 2:4.13.13+dfsg-1 | < 2:4.13.13+dfsg-1

  • debiandebian_linux

    9.0 | 10.0

  • fedoraprojectfedora

    32 | 33 | 34

  • redhatldb-tools

    < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:2.1.3-3.el8_3 | < 0:2.0.7-4.el8_2 | < 0:1.5.4-3.el8_1 | < 0:1.4.2-2.el7_7 | < 0:1.4.2-2.el7_7 | < 0:1.3.4-2.el7_6

  • redhatldb-tools-debuginfo

    < 0:2.1.3-3.el8_3 | < 0:2.0.7-4.el8_2 | < 0:1.5.4-3.el8_1

  • redhatlibldb

    < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:2.1.3-3.el8_3 | < 0:2.0.7-4.el8_2 | < 0:1.5.4-3.el8_1 | < 0:1.4.2-2.el7_7 | < 0:1.4.2-2.el7_7 | < 0:1.3.4-2.el7_6

  • redhatlibldb-debuginfo

    < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:2.1.3-3.el8_3 | < 0:2.0.7-4.el8_2 | < 0:1.5.4-3.el8_1 | < 0:1.4.2-2.el7_7 | < 0:1.4.2-2.el7_7 | < 0:1.3.4-2.el7_6

  • redhatlibldb-debugsource

    < 0:2.1.3-3.el8_3 | < 0:2.0.7-4.el8_2 | < 0:1.5.4-3.el8_1

  • redhatlibldb-devel

    < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:2.1.3-3.el8_3 | < 0:2.0.7-4.el8_2 | < 0:1.5.4-3.el8_1 | < 0:1.4.2-2.el7_7 | < 0:1.4.2-2.el7_7 | < 0:1.3.4-2.el7_6

  • redhatpyldb

    < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:1.4.2-2.el7_7 | < 0:1.4.2-2.el7_7 | < 0:1.3.4-2.el7_6

  • redhatpyldb-devel

    < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:1.5.4-2.el7_9 | < 0:1.4.2-2.el7_7 | < 0:1.4.2-2.el7_7 | < 0:1.3.4-2.el7_6

  • redhatpython3-ldb

    < 0:2.1.3-3.el8_3 | < 0:2.0.7-4.el8_2 | < 0:1.5.4-3.el8_1

  • redhatpython3-ldb-debuginfo

    < 0:2.1.3-3.el8_3 | < 0:2.0.7-4.el8_2 | < 0:1.5.4-3.el8_1

  • sambasamba

    ≥ 4.0.0, < 4.12.13 | ≥ 4.13.0, < 4.13.6 | ≥ 4.14.0, < 4.14.1

References (27)