CVE & CISA-KEV Catalog

CVE-2021-20254

MEDIUMEPSS 73th pctl
6.8
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
sambaDebian
Fixed in:2:4.13.5+dfsg-2CVE-2021-20254
Fixed in:2:4.13.5+dfsg-2CVE-2021-20254
Fixed in:2:4.13.5+dfsg-2CVE-2021-20254
Fixed in:2:4.13.5+dfsg-2CVE-2021-20254
sambaUbuntu
Fixed in:2:4.3.11+dfsg-0ubuntu0.14.04.20+esm11USN-4931-1
Fixed in:2:4.3.11+dfsg-0ubuntu0.16.04.34USN-4930-1
Fixed in:2:4.7.6+dfsg~ubuntu-0ubuntu2.23USN-4930-1
Fixed in:2:4.11.6+dfsg-0ubuntu1.8USN-4930-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Exploit Intelligence

1.62%probability of exploitation in 30 days
73rdpercentile

Elevated risk: more likely to be exploited than 73% of all known CVEs.

References

Related Vulnerabilities

Other CWE-125 (Out-of-bounds Read) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-0160High7.5100%KEVFix
CVE-2025-5777High7.5100%KEV + RansomFix
CVE-2021-4034High7.895%KEVFix
CVE-2023-21769High7.592%-Fix
CVE-2023-49285High8.689%-Fix
CVE-2020-8794Critical9.889%-Fix
Embed a live status badge for CVE-2021-20254
CVE-2021-20254 severity badge

Markdown

[![CVE-2021-20254](https://tridentstack.com/cve/badge/CVE-2021-20254.svg)](https://tridentstack.com/cve/CVE-2021-20254)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-20254"><img src="https://tridentstack.com/cve/badge/CVE-2021-20254.svg" alt="CVE-2021-20254"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.