OSV-2020-2155 Heap-buffer-overflow in wolfSSH_CleanPath
A heap-buffer-overflow in wolfSSH's SCP path cleaning allows remote attackers to cause denial of service or potentially execute code.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2020-2155?
OSV-2020-2155 is a memory corruption vulnerability in wolfssl, published on 15 Nov 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27436
Crash type: Heap-buffer-overflow READ 16
Crash state:
wolfSSH_CleanPath
ParseScpCommand
DoScpRequest
Which versions are affected by OSV-2020-2155?
1 open source package ship an affected version, including wolfssl.
| Package | Affected | Fixed in |
|---|---|---|
wolfssl OSS-Fuzz | All versions | None |
How do I fix OSV-2020-2155?
No fix has been published for OSV-2020-2155 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-2020-2155 being exploited?
There is no known exploitation of OSV-2020-2155 in the wild and no public exploit code.