{"id":"CVE-2025-0374","aliases":["CVE-2025-0374"],"related":[],"kind":"vulnerability","state":"published","title":"Unprivileged access to system files","summary":"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.\n\nAn 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nAn 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.","source":"cvelist"},{"lang":"es","text":"Cuando etcupdate encuentra conflictos al fusionar archivos, guarda una versión que contiene marcadores de conflicto en /var/db/etcupdate/conflicts. Esta versión no conserva el modo del archivo de entrada y es legible por todo el mundo. Esto se aplica a archivos que normalmente tendrían visibilidad restringida, como /etc/master.passwd. Un usuario local sin privilegios puede leer contraseñas de usuario y raíz cifradas desde el archivo temporal master.passwd manipulado en /var/db/etcupdate/conflicts. Esto es posible solo cuando surgen conflictos dentro del archivo de contraseñas durante una actualización y el archivo desprotegido se elimina cuando se resuelven los conflictos.","source":"nvd"}],"published":"2025-01-30T04:49:07.687Z","modified":"2026-06-17T08:26:22.460Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-732"],"affected":[{"ranges":[{"type":"release","introduced":"14.2-RELEASE","fixed":"p1","status":"affected"},{"type":"release","introduced":"14.1-RELEASE","fixed":"p7","status":"affected"},{"type":"release","introduced":"13.4-RELEASE","fixed":"p3","status":"affected"}],"vendor":"FreeBSD","product":"FreeBSD","source":"cvelist"}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-25:03.etcupdate.asc","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20250207-0007/","tags":[],"sources":["cvelist","nvd"]}],"credits":["Christos Chatzaras"],"assigner":"freebsd","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-02-05T15:41:16.838Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-0374","url":"https://www.cve.org/CVERecord?id=CVE-2025-0374","licence":"CVE Terms of Use","modified":"2025-02-07T17:02:52.274Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-0374","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0374","licence":"Public domain","modified":"2026-06-17T08:26:22.460Z"}],"updatedAt":"2026-11-25T22:58:53.676Z","epss":{"score":0.00305,"percentile":0.25078,"date":"2026-12-01T12:00:22.000Z"}}