Description
FreeBSD's crontab calculates the MD5 sum of the previous and new cronjob to determine if any changes have been made before copying the new version in. In particular, it uses the MD5File() function, which takes a pathname as an argument, and is called with euid 0. A race condition in this process may lead to an arbitrary MD5 comparison regardless of the read permissions.
References (3)
Core 3
Core References
Third Party Advisory x_refsource_misc
https://marc.info/?l=full-disclosure&m=129891323028897&w=2
Mailing List, Third Party Advisory x_refsource_misc
https://www.openwall.com/lists/oss-security/2011/02/28/14
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20211125-0004/
Scores
CVSS v3
3.7
EPSS
0.0020
EPSS Percentile
41.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Details
CWE
CWE-362
Status
published
Products (1)
freebsd/freebsd
Published
Oct 19, 2021
Tracked Since
Feb 18, 2026