HexBrain

curl · Report #1814333

CVE-2023-23915: HSTS amnesia with --parallel

Validstatus
lowseverity
7upvotes
15 Feb 2023disclosed

How it was found

Summary:

curl overwrites HSTS cache entries if requests are performed in parallel.

Steps To Reproduce:

  1. curl --parallel --hsts hsts.txt https://site1.tld https://site2.tld https://site3.tld

Only one of the sites contacted will have entry in hsts.txt afterwards. Non-TLS connection to the other sites will not protected by TLS.

Impact

Request performed over insecure channels unexpectedly and loss of confidentiality and integrity.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original