Out-of-bounds Write Affecting samba-winbind-krb5-locator package, versions <0:4.8.3-7.el7_6


Severity

Recommended
0.0
critical
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
18.05% (97th 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-RHEL7-SAMBAWINBINDKRB5LOCATOR-4958901
  • published1 Feb 2022
  • disclosed31 Jan 2022

Introduced: 31 Jan 2022

CVE-2021-44142  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade RHEL:7 samba-winbind-krb5-locator to version 0:4.8.3-7.el7_6 or higher.
This issue was patched in RHSA-2022:0663.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samba-winbind-krb5-locator package and not the samba-winbind-krb5-locator package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

The Samba vfs_fruit module uses extended file attributes (EA, xattr) to provide "...enhanced compatibility with Apple SMB clients and interoperability with a Netatalk 3 AFP fileserver." Samba versions prior to 4.13.17, 4.14.12 and 4.15.5 with vfs_fruit configured allow out-of-bounds heap read and write via specially crafted extended file attributes. A remote attacker with write access to extended file attributes can execute arbitrary code with the privileges of smbd, typically root.

CVSS Scores

version 3.1