libcurl can be told to save cookie, HSTS and/or alt-svc...
Unreviewed
Published
Jul 26, 2023
to the GitHub Advisory Database
•
Updated Nov 11, 2023
Description
Published by the National Vulnerability Database
Jul 26, 2023
Published to the GitHub Advisory Database
Jul 26, 2023
Last updated
Nov 11, 2023
libcurl can be told to save cookie, HSTS and/or alt-svc data to files. When
doing this, it called
stat()
followed byfopen()
in a way that made itvulnerable to a TOCTOU race condition problem.
By exploiting this flaw, an attacker could trick the victim to create or
overwrite protected files holding this data in ways it was not intended to.
References