Description
A remote HTTP server can set a cookie that curl accepts and writes to a Netscape cookie jar but cannot reload. On the next invocation using the same path for `--cookie` and `--cookie-jar`, curl fails before connecting, then the cleanup procedure replaces the jar with an empty file, deleting cookies for unrelated domains.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
curl curl
Default version status: unaffected
8.22.0 to ≤ 8.22.0affected8.21.0 to ≤ 8.21.0affected8.20.0 to ≤ 8.20.0affected8.19.0 to ≤ 8.19.0affected8.18.0 to ≤ 8.18.0affected