CVE-2024-41264: casdoor's use of`ssh.InsecureIgnoreHostKey()` disables host key verification
3.7
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.17332%
CWE
Published
8/1/2024
Updated
8/16/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/casdoor/casdoor | go | >= 1.541.0, <= 1.636.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
All three functions in viaSSHDialer.go configure SSH clients with HostKeyCallback: ssh.InsecureIgnoreHostKey(), which explicitly disables host key verification. This violates secure SSH practices by allowing potential MITM attacks, directly enabling the CWE-295/297 certificate validation flaws and CWE-200 information exposure described in the advisory. The code references match exactly with the vulnerability reports and GitHub file links provided.