CVE-2025-0374

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductFreeBSD
PublishedJan 30, 2025
First seenJan 30, 2025
Weakness typeCWE-732CWE-732

How to fix

Update
  • FreeBSD FreeBSDp1, p7, p3 or later

Affected products

ProductAffected versionsFixed in
FreeBSD FreeBSD14.2-RELEASE ≤ v < p1, 14.1-RELEASE ≤ v < p7, 13.4-RELEASE ≤ v < p3p1, p7, p3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-0374 · FreeBSD · Dark Radar