wolfSSH ECDSA host key curve not validated against negotiated algorithm
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| wolfSSL Inc. | wolfSSH | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Wolfssl | Wolfssh |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.191% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Wolfssh
Wolfssh wolfssh |
|
| CPEs | cpe:2.3:a:wolfssh:wolfssh:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Wolfssh
Wolfssh wolfssh |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Wolfssl
Wolfssl wolfssh |
|
| Vendors & Products |
Wolfssl
Wolfssl wolfssh |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | wolfSSH does not validate that the ECDSA curve identifier in a KEXDH_REPLY host key blob matches the algorithm negotiated during key exchange. In ParseECCPubKey() (src/internal.c), the blob's algorithm string is used to derive the curve via NameToId/wcPrimeForId without checking against the negotiated ssh->handshake->pubKeyId, and the RFC 5656 curve identifier string is discarded via GetSkip() rather than compared. An active network man-in-the-middle attacker can substitute a host key blob containing a different ECDSA curve, causing the client to import the key on the wrong curve. Because the attacker controls the private key for the substituted curve, signature verification passes. Exploitation requires an active MitM position and a lax public key check callback (e.g., TOFU, algorithm-name-only check, or fingerprint match against the parsed key). | |
| Title | wolfSSH ECDSA host key curve not validated against negotiated algorithm | |
| Weaknesses | CWE-345 | |
| References |
| |
| Metrics |
cvssV4_0
|