CVE-2021-20254
Last modified
CVE-2021-20254 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. A flaw was found in samba. The Samba smbd file server must map Windows group identities (SIDs) into unix group ids (gids). EPSS estimates a 1.62% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Samba | Samba | >= 3.6.0, < 4.12.15 |
| Samba | Samba | >= 4.13.0, < 4.13.8 |
| Samba | Samba | >= 4.14.0, < 4.14.4 |
| Fedoraproject | Fedora | 32 |
| Fedoraproject | Fedora | 33 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1949442Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/05/msg00023.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202105-22Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210430-0001/Third Party Advisory
- https://www.samba.org/samba/security/CVE-2021-20254.htmlVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1949442Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/05/msg00023.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202105-22Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210430-0001/Third Party Advisory
- https://www.samba.org/samba/security/CVE-2021-20254.htmlVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-20254?
How severe is CVE-2021-20254?
How do I fix CVE-2021-20254?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-20249Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-2025Vulnerability in the Oracle Business Intelligence Enterprise…8.2
- CVE-2021-20250A flaw was found in wildfly. The JBoss EJB client has public…4.3
- CVE-2021-20251A flaw was found in samba. A race condition in the password …5.9
- CVE-2021-20252A flaw was found in Red Hat 3scale API Management Platform 2…6.5
- CVE-2021-20253A flaw was found in ansible-tower. The default installation …6.7
- CVE-2021-20255A stack overflow via an infinite recursion vulnerability was…5.5
- CVE-2021-20256A flaw was found in Red Hat Satellite. The BMC interface exp…5.3
- CVE-2021-20257An infinite loop flaw was found in the e1000 NIC emulator of…6.5
- CVE-2021-20258Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-20259A flaw was found in the Foreman project. The Proxmox compute…7.8
- CVE-2021-2026Vulnerability in the Oracle Marketing product of Oracle E-Bu…8.2
Are you affected by CVE-2021-20254?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
