Advisory

UBUNTU-CVE-2021-3738

Also known as: CVE-2021-3738

Summary

The record has no summary.

Details

In DCE/RPC it is possible to share the handles (cookies for resource state) between multiple connections via a mechanism called 'association groups'. These handles can reference connections to our sam.ldb database. However while the database was correctly shared, the user credentials state was only pointed at, and when one connection within that association group ended, the database would be left pointing at an invalid 'struct session_info'. The most likely outcome here is a crash, but it is possible that the use-after-free could instead allow different user state to be pointed at and this might allow more privileged access.

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
2021-11-09 00:00 UTC
Modified
2026-04-22 12:57 UTC

Affected packages and fixes

samba

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2:4.13.14+dfsg-0ubuntu0.20.04.1 (ecosystem)

Fixed versions

2:4.13.14+dfsg-0ubuntu0.20.04.1

Fix

  • Fixed version 2:4.13.14+dfsg-0ubuntu0.20.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.

samba

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2:4.13.14+dfsg-0ubuntu1 (ecosystem)

Fixed versions

2:4.13.14+dfsg-0ubuntu1

Fix

  • Fixed version 2:4.13.14+dfsg-0ubuntu1
    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