CVE Vulnerabilities

CVE-2023-5368

Insecure Default Initialization of Resource

Published: Oct 04, 2023 | Modified: Nov 29, 2023
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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).

Weakness

The product initializes or sets a resource with a default that is intended to be changed by the administrator, but the default is not secure.

Affected Software

Name Vendor Start Version End Version
Freebsd Freebsd * 12.4 (excluding)
Freebsd Freebsd 13.0 (including) 13.2 (excluding)
Freebsd Freebsd 12.4 (including) 12.4 (including)
Freebsd Freebsd 12.4-p1 (including) 12.4-p1 (including)
Freebsd Freebsd 12.4-p2 (including) 12.4-p2 (including)
Freebsd Freebsd 12.4-p3 (including) 12.4-p3 (including)
Freebsd Freebsd 12.4-p4 (including) 12.4-p4 (including)
Freebsd Freebsd 12.4-p5 (including) 12.4-p5 (including)
Freebsd Freebsd 13.2 (including) 13.2 (including)
Freebsd Freebsd 13.2-p1 (including) 13.2-p1 (including)
Freebsd Freebsd 13.2-p2 (including) 13.2-p2 (including)
Freebsd Freebsd 13.2-p3 (including) 13.2-p3 (including)

Extended Description

Developers often choose default values that leave the product as open and easy to use as possible out-of-the-box, under the assumption that the administrator can (or should) change the default value. However, this ease-of-use comes at a cost when the default is insecure and the administrator does not change it.

References