Skip to content

CVE-2025-0374 Unprivileged access to system files

MediumCVSS 6.5 EPSS 0.57%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

When etcupdate encounters conflicts while merging files, it saves a version containing conflict markers in /var/db/etcupdate/conflicts. This version does not preserve the mode of the input file, and is world-readable. This applies to files that would normally have restricted visibility, such as /etc/master.passwd.

An unprivileged local user may be able to read encrypted root and user passwords from the temporary master.passwd file created in /var/db/etcupdate/conflicts. This is possible only when conflicts within the password file arise during an update, and the unprotected file is deleted when conflicts are resolved.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
freebsd >= 13.4-RELEASE, < p3; >= 14.1-RELEASE, < p7; >= 14.2-RELEASE, < p1 p1, p3, p7 Fixed

Affected products

ProductAffected versionsFixed in
freebsd >= 14.2-RELEASE, < p1 p1
freebsd >= 14.1-RELEASE, < p7 p7
freebsd >= 13.4-RELEASE, < p3 p3

References