Advisory

UBUNTU-CVE-2021-20254

Also known as: CVE-2021-20254

Summary

The record has no summary.

Details

A flaw was found in samba. The Samba smbd file server must map Windows group identities (SIDs) into unix group ids (gids). The code that performs this had a flaw that could allow it to read data beyond the end of the array in the case where a negative cache entry had been added to the mapping cache. This could cause the calling code to return those values into the process token that stores the group membership for a user. The highest threat from this vulnerability is to data confidentiality and integrity.

Severity

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

Dates

Published
2021-04-29 00:00 UTC
Modified
2026-04-22 12:45 UTC

Affected packages and fixes

samba

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 2:4.3.11+dfsg-0ubuntu0.16.04.34 (ecosystem)

Fixed versions

2:4.3.11+dfsg-0ubuntu0.16.04.34

Fix

  • Fixed version 2:4.3.11+dfsg-0ubuntu0.16.04.34
    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 18.04

Affected

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

Fixed versions

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

Fix

  • Fixed version 2:4.7.6+dfsg~ubuntu-0ubuntu2.23
    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.11.6+dfsg-0ubuntu1.8 (ecosystem)

Fixed versions

2:4.11.6+dfsg-0ubuntu1.8

Fix

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