Vulnerability in FreeBSD
CVE-2020-25578
In FreeBSD 12.2-STABLE before r368969, 11.4-STABLE before r369047, 12.2-RELEASE before p3, 12.1-RELEASE before p13 and 11.4-RELEASE before p7 several file systems were not properly initializing the d_off field of the dirent structures returned by VOP_READDIR. In particular, tmpfs(5), smbfs(5), autofs(5) and mqueuefs(5) were failing to do so. As a result, eight uninitialized kernel stack bytes may be leaked to userspace by these file systems.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.023, 83.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- FreeBSD — versions 11.4, 12.1, 12.2
- FreeBSD — versions FreeBSD 12.2-RELEASE before p3, 12.1-RELEASE before p13, 11.4-RELEASE before p7
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- farazsth98/freebsd-dirent-info-leak-bugs (7 stars, last pushed 2020-12-05): CVE-2020-25578 and CVE-2020-25579: Some FreeBSD info leak bugs I found in 2020.
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, elttam/publications). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- security.FreeBSD.org/advisories/FreeBSD-SA-21:01.fsdisclosure.asc (Vendor Advisory)
- security.netapp.com/advisory/ntap-20210423-0002/ (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.