When curl < 7.84.0 saves cookies, alt-svc and hsts data...
Critical severity
Unreviewed
Published
Jul 8, 2022
to the GitHub Advisory Database
•
Updated Apr 7, 2024
Description
Published by the National Vulnerability Database
Jul 7, 2022
Published to the GitHub Advisory Database
Jul 8, 2022
Last updated
Apr 7, 2024
When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the operation with a rename from a temporary name to the final target file name.In that rename operation, it might accidentally widen the permissions for the target file, leaving the updated file accessible to more users than intended.
References