Medium · published June 2, 2022
libcurl wrongly allows cookies to be set for Top Level Domains (TLDs) if thehost name is provided with a trailing dot.curl can be told to receive and send cookies. curl's "cookie engine" can bebuilt with or without [Public Suffix List](https://publicsuffix.org/)awareness. If PSL support not provided, a more rudimentary check exists to atleast prevent cookies from being set on TLDs. This check was broken if thehost name in the URL uses a trailing dot.This can allow arbitrary sites to set cookies that then would get sent to adifferent and unrelated site or domain.
| Product | Versions | Fixed in |
|---|---|---|
| haxx/curl | ≥ 7.82.0, < 7.83.1 | 7.83.1 |
| netapp/hci_bootstrap_os | all versions | — |
| netapp/clustered_data_ontap | all versions | — |
| netapp/solidfire\,_enterprise_sds_\&_hci_storage_node | all versions | — |
| netapp/solidfire_\&_hci_management_node | all versions | — |
| netapp/hci_compute_node | all versions | — |
| netapp/h410s_firmware | all versions | — |
| netapp/h700s_firmware | all versions | — |
| netapp/h500s_firmware | all versions | — |
| netapp/h300s_firmware | all versions | — |
| splunk/universal_forwarder | ≥ 8.2.0, < 8.2.12 | 8.2.12 |
| splunk/universal_forwarder | ≥ 9.0.0, < 9.0.6 | 9.0.6 |
| splunk/universal_forwarder | all versions | — |