OSV-2021-1386 Container-overflow in std::__1::__function::__func<uWS::TemplatedApp<true>&& uWS::TemplatedApp<true>::
A container overflow in uWebSockets can cause a crash during message publishing, potentially leading to 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-1386?
OSV-2021-1386 is a memory corruption vulnerability in uwebsockets, published on 28 Sep 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=39355
Crash type: Container-overflow READ 1
Crash state:
std::__1::__function::__func<uWS::TemplatedApp<true>&& uWS::TemplatedApp<true>::
uWS::TopicTree<uWS::TopicTreeMessage>::publish
uWS::TemplatedApp<true>::publish
Which versions are affected by OSV-2021-1386?
1 open source package ship an affected version, including uwebsockets.
| Package | Affected | Fixed in |
|---|---|---|
uwebsockets OSS-Fuzz | All versions | None |
How do I fix OSV-2021-1386?
No fix has been published for OSV-2021-1386 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-1386 being exploited?
There is no known exploitation of OSV-2021-1386 in the wild and no public exploit code.