HexBrain

Internet Bug Bounty · Report #1912783

CVE-2023-27538: SSH connection too eager reuse still

Validstatus
lowseverity
$480bounty
12upvotes
19 Apr 2023disclosed

Summary

libcurl would reuse a previously created connection even when an SSH related option had been changed that should have prohibited reuse.

libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse if one of them matches the setup. However, two SSH settings were left out from the configuration match checks, making them match too easily.

How it was found

libcurl would reuse a previously created connection even when an SSH related option had been changed that should have prohibited reuse.

libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse if one of them matches the setup. However, two SSH settings were left out from the configuration match checks, making them match too easily.

Hackerone report

#1898475

Impact

Connection reuse when different ssh keys are specified.

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