Out-of-bounds Read in Samba

CVE-2021-20254

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N.

EPSS exploit prediction

EPSS: 0.016 (75.1th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 75th percentile — 75.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-20254: held from 0.016 to 0.016.

EPSS over last 30 days · oldest: 0.016 · newest: 0.016 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-20254?
CVE-2021-20254 is a medium-severity vulnerability in Samba, classified under Out-of-bounds Read. CVSS score: 6.8/10. Published 2021-05-05.
How severe is CVE-2021-20254?
Medium severity. CVSS v3 base score is 6.8 out of 10.