Out-of-bounds Read Affecting samba package, versions [4.0.0,4.12.13)[4.13.0,4.13.6)[4.14.0,4.14.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.61% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-SAMBA-2370519
  • published26 Jan 2022
  • disclosed12 May 2021
  • creditUnknown

Introduced: 12 May 2021

CVE-2020-27840  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade samba to version 4.12.13, 4.13.6, 4.14.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. 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.

References

CVSS Scores

version 3.1