Vulnerability in Freebsd

CVE-2025-0374

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.

EPSS: 0.003 (21.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

Affected products

  • Freebsd — versions 14.2-RELEASE, 14.1-RELEASE, 13.4-RELEASE

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-0374?
CVE-2025-0374 is a medium-severity vulnerability in Freebsd, classified under Incorrect Permission Assignment for Critical Resource. CVSS score: 6.5/10. Published 2025-01-30.
How severe is CVE-2025-0374?
Medium severity. CVSS v3 base score is 6.5 out of 10.