Advisory

UBUNTU-CVE-2021-44142

Also known as: CVE-2021-44142

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2022-01-31 00:00 UTC
Modified
2026-04-22 13:02 UTC

Affected packages and fixes

samba

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2:4.7.6+dfsg~ubuntu-0ubuntu2.28 (ecosystem)

Fixed versions

2:4.7.6+dfsg~ubuntu-0ubuntu2.28

Fix

  • Fixed version 2:4.7.6+dfsg~ubuntu-0ubuntu2.28
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

samba

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2:4.13.17~dfsg-0ubuntu0.21.04.1 (ecosystem)

Fixed versions

2:4.13.17~dfsg-0ubuntu0.21.04.1

Fix

  • Fixed version 2:4.13.17~dfsg-0ubuntu0.21.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences