CVE-2021-29628: FreeBSD - Privilege Escalation
- Cve: CVE-2021-29628
- Name: FreeBSD - Privilege Escalation
- Description: In FreeBSD 13.0-STABLE before n245764-876ffe28796c, 12.2-STABLE before r369857, 13.0-RELEASE before p1, and 12.2-RELEASE before p7, a system call triggering a fault could cause SMAP protections to be disabled for the duration of the system call. This weakness could be combined with other kernel bugs to craft an exploit.
- Impact: Attackers can escalate privileges by disabling SMAP protections during a system call, potentially leading to full system compromise.
- Remediation: Update to the latest patches including n245764-876ffe28796c, r369857, p1, or p7 as applicable.
- Vulnerability type: privilege_escalation
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.01249
- Epss percentile: 0.70134
- Assignee: [email protected]
- Published at: 2021-05-28T15:15:08Z
- Age in days: 2006
- Modified at: 2026-06-17T03:48:03Z
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-29628
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-863 | Incorrect Authorization |
Hackerone
- Reports: 1
- Rank: 5211
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://security.FreeBSD.org/advisories/FreeBSD-SA-21:11.smap.asc | nvd | 2021-05-28 |
References
| Url | Source | Tags |
|---|---|---|
| https://security.FreeBSD.org/advisories/FreeBSD-SA-21:11.smap.asc | nvd | Exploit, Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20210713-0002/ | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| freebsd:freebsd | = 13.0, = 13.0 beta3-p1, = 13.0 rc3, = 13.0 rc4, = 13.0 rc5-p1, = 12.2, = 12.2 beta1-p1, = 12.2 p1, = 12.2 p2, = 12.2 p3, = 12.2 p4, = 12.2 p5, = 12.2 p6 | no | nvd | /v1/products/freebsd/freebsd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-05-28
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 164903
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since