OSV-2021-892 Heap-buffer-overflow in explicit_bzero
A heap-buffer-overflow in explicit_bzero within an SSH library allows attackers to cause memory corruption, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2021-892?
OSV-2021-892 is a memory corruption vulnerability in libssh, published on 24 Jun 2021. It can be exploited over the network, with no action from the victim.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35485
Crash type: Heap-buffer-overflow WRITE {*}
Crash state:
explicit_bzero
crypto_free
ssh_disconnect
Which versions are affected by OSV-2021-892?
1 open source package ship an affected version, including libssh.
| Package | Affected | Fixed in |
|---|---|---|
libssh OSS-Fuzz | All versions | None |
How do I fix OSV-2021-892?
No fix has been published for OSV-2021-892 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-892 being exploited?
There is no known exploitation of OSV-2021-892 in the wild and no public exploit code.