CVE-2022-42916: HSTS bypass via IDN
What the report claims
HSTS bypass via IDN conversion where a character converts to '.' causing HSTS checks to fail.
Compare with curl's recorded outcome
Known vulnerability
A real vulnerability: CVE-2022-42916 HSTS bypass via IDN
Shown for comparison after analysis. The pipeline did not see this label.
ProveIt's finding
The available evidence does not settle the report. A maintainer should investigate.
Why this finding?
- No curl source code was provided for the target revision (29c4aa00a168) to evaluate HSTS cache lookup or IDN conversion.
- The deterministic check only confirms a 'convert' symbol exists, not its semantics or interaction with HSTS.
- The report provides a concrete reproduction case and plausible mechanism, but the automated assessment lacks the code to confirm or refute it.
What still needs checking
- curl source files handling HSTS cache (likely lib/hsts.c) and IDN conversion (likely lib/idn.c or similar) at revision 29c4aa00a168
How this analysis ran 5 claims · 0 citations verified
Checked against curl master on 2022-10-11 (29c4aa00a168). Test evaluation split. Citation verification checks that a referenced line was in the evidence; it does not prove the model interpreted it correctly.
Review a draft reply to the reporter
Edit and verify before sending.
Thank you for the detailed report. To triage this, we need to examine the HSTS cache lookup and IDN conversion code in curl at the version you tested (7.85.0). Could you confirm the exact curl commit or release tag you used? The automated check could not retrieve the relevant source files for revision 29c4aa00a168. A maintainer will review the HSTS and IDN code paths manually.
Inspect all claims and source code 5 claims · 0 code excerpts
Report claims
HSTS checks are bypassed if any character in the IDN convert(Nameprep) to a '.'
Read the reasoning
No curl source code provided to examine HSTS implementation or IDN conversion logic. The deterministic check only confirms a 'convert' symbol exists, not its behavior.
in the IDN conversion process
Read the reasoning
Location claim depends on code not provided.
a character that converts to '.' via IDN conversion
Read the reasoning
Trigger claim depends on IDN conversion behavior not shown in provided context.
HSTS bypass allowing HTTP to HTTPS downgrade or plaintext HTTP
Read the reasoning
Impact claim cannot be verified without HSTS cache lookup code.
using curl with an IDN containing a character that converts to '.' in Nameprep
Read the reasoning
Reproduction command given but cannot be tested against provided code (none).
Read the original report (excerpt)
Source code
No source code was retrieved for this analysis. The evidence may be incomplete.