OSV-2021-257 Stack-buffer-overflow in kdf_sshkdf_set_ctx_params
A stack buffer overflow in OpenSSL's SSH KDF allows attackers to cause denial of service or potentially execute code via crafted parameters.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2021-257?
OSV-2021-257 is a memory corruption vulnerability in cryptofuzz, published on 30 Jan 2021.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30037
Crash type: Stack-buffer-overflow READ 1
Crash state:
kdf_sshkdf_set_ctx_params
EVP_KDF_CTX_set_params
cryptofuzz::module::OpenSSL::OpKDF_SSH
Which versions are affected by OSV-2021-257?
1 open source package ship an affected version, including cryptofuzz.
| Package | Affected | Fixed in |
|---|---|---|
cryptofuzz OSS-Fuzz | All versions | None |
How do I fix OSV-2021-257?
No fix has been published for OSV-2021-257 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is OSV-2021-257 being exploited?
There is no known exploitation of OSV-2021-257 in the wild and no public exploit code.