FreeBSD's crontab calculates the MD5 sum of the previous...
Moderate severity
Unreviewed
Published
Apr 22, 2022
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Description
Published by the National Vulnerability Database
Oct 19, 2021
Published to the GitHub Advisory Database
Apr 22, 2022
Last updated
Jan 27, 2023
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