OSV-2021-1392 Container-overflow in std::__1::__function::__func<uWS::TemplatedApp<false>&& uWS::TemplatedApp<false>
A container overflow in uWebSockets can cause a crash, potentially leading to denial of service for applications using the library.
- 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-1392?
OSV-2021-1392 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=39354
Crash type: Container-overflow READ 1
Crash state:
std::__1::__function::__func<uWS::TemplatedApp<false>&& uWS::TemplatedApp<false>
uWS::TopicTree<uWS::TopicTreeMessage>::publish
ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test
Which versions are affected by OSV-2021-1392?
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-1392?
No fix has been published for OSV-2021-1392 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-1392 being exploited?
There is no known exploitation of OSV-2021-1392 in the wild and no public exploit code.