OSV-2021-1392 Container-overflow in std::__1::__function::__func<uWS::TemplatedApp<false>&& uWS::TemplatedApp<false>

Not scored Published

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&lt;uWS::TemplatedApp&lt;false&gt;&amp;&amp; uWS::TemplatedApp&lt;false&gt;
uWS::TopicTree&lt;uWS::TopicTreeMessage&gt;::publish
ofats::any_detail::handler_traits&lt;void, uWS::WebSocket&lt;false, true, test

Which versions are affected by OSV-2021-1392?

1 open source package ship an affected version, including uwebsockets.

PackageAffectedFixed in
uwebsockets OSS-FuzzAll versionsNone

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.

Sources

Is OSV-2021-1392 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free