CVE-2025-0374

published 30 Jan 2025 · updated 7 Feb 2025

Unprivileged access to system files

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in p3, p7 and p1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSD>=13.4-RELEASE <p3, >=14.1-RELEASE <p7, >=14.2-RELEASE <p1p3, p7, p1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-0374 severity on Zeptric[![CVE-2025-0374](https://zeptric.io/badge/cve/CVE-2025-0374.svg)](https://zeptric.io/cve/CVE-2025-0374)