CVE-2023-5368
What it is
On an msdosfs filesystem, the 'truncate' or 'ftruncate' system calls under certain circumstances populate the additional space in the file with unallocated data from the underlying disk device, rather than zero bytes. This may permit a user with write access to files on a msdosfs filesystem to read unintended data (e.g. from a previously deleted file).
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data exposure.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.7% in the next 30 days (EPSS).
- Severity: 6.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-1188
- Record status
- Modified
Affected
- Freebsd < 12.4
- Freebsd < 13.2
- Freebsd 12.4
- Freebsd 13.2
Attack profile CVSS 3.1 · 6.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-5368.md and follow it. Check whether this project is affected by CVE-2023-5368. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://security.FreeBSD.org/advisories/FreeBSD-SA-23:12.msdosfs.asc
- https://security.FreeBSD.org/advisories/FreeBSD-SA-23:12.msdosfs.asc
References
- https://dfir.ru/2023/11/01/bringing-unallocated-data-back-the-fat12-16-32-case/
- https://security.FreeBSD.org/advisories/FreeBSD-SA-23:12.msdosfs.asc
- https://security.netapp.com/advisory/ntap-20231124-0004/
- https://dfir.ru/2023/11/01/bringing-unallocated-data-back-the-fat12-16-32-case/
- https://security.FreeBSD.org/advisories/FreeBSD-SA-23:12.msdosfs.asc
- https://security.netapp.com/advisory/ntap-20231124-0004/