A flaw in the curl command line tool's logic makes it only set SSH host verification options when interacting directly using SFTP or SCP, and not as a...
Original description
The description as published by the source.
A flaw in the curl command line tool's logic makes it only set SSH host verification options when interacting directly using SFTP or SCP, and not as a result of following a redirect. This means --knownhosts, --hostpubsha256, and --hostpubmd5 are never installed when the initial URL is HTTPS. If --location and --proto-redir +sftp is used and the server returns a Location: sftp://example.com redirect, the SFTP connection proceeds without any of the user's requested SSH host verification methods.
Source: OSV.dev (Open Source Vulnerabilities) OSV
Affected packages
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report curl.se