Kernel stack information leak in FreeBSD via ptrace
FreeBSD FreeBSD
At a glance
In FreeBSD before 11.1-STABLE, 11.1-RELEASE-p4, 11.0-RELEASE-p15, 10.4-STABLE, 10.4-RELEASE-p3, and 10.3-RELEASE-p24, not all information in the struct ptrace_lwpinfo is relevant for the state of any thread, and the kernel does not fill the irrelevant bytes or short strings. Since the structure filled by the kernel is allocated on the kernel stack and copied to userspace, a leak of information of the kernel stack of the thread is possible from the debugger. As a result, some bytes from the kernel stack of the thread using ptrace (PT_LWPINFO) call can be observed in userspace.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 0.362%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:FreeBSD | FreeBSD | Affected versions: All supported versions of FreeBSD |
1–1 of 1 · Page 1 of 1
CVSS scores and metrics2
[email protected] · NVD (Primary)Primary3.3 / 10LowCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N[email protected] · NVD (Primary)2.1 / 10LowCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:L/Au:N/C:P/I:N/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories6
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences