Out-of-bounds Write Affecting samba-krb5-printing package, versions <0:4.14.5-9.el8_5
Threat Intelligence
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 ID SNYK-CENTOS8-SAMBAKRB5PRINTING-2389473
- published 1 Feb 2022
- disclosed 31 Jan 2022
Introduced: 31 Jan 2022
CVE-2021-44142 Open this link in a new tabHow to fix?
Upgrade Centos:8 samba-krb5-printing to version 0:4.14.5-9.el8_5 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream samba-krb5-printing package and not the samba-krb5-printing package as distributed by Centos.
See How to fix? for Centos:8 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.
References
- https://access.redhat.com/security/cve/CVE-2021-44142
- https://access.redhat.com/errata/RHSA-2022:0332
- https://www.samba.org/samba/security/CVE-2021-44142.html
- https://kb.cert.org/vuls/id/119678
- https://bugzilla.samba.org/show_bug.cgi?id=14914
- https://www.zerodayinitiative.com/blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-bug-demonstrated-at-pwn2own-austin
- https://security.gentoo.org/glsa/202309-06