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

Not scored Published

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&lt;uWS::TemplatedApp&lt;true&gt;&amp;&amp; uWS::TemplatedApp&lt;true&gt;::
uWS::TopicTree&lt;uWS::TopicTreeMessage&gt;::publish
uWS::TemplatedApp&lt;true&gt;::publish

Which versions are affected by OSV-2021-1386?

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

PackageAffectedFixed in
uwebsockets OSS-FuzzAll versionsNone

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.

Sources

Is OSV-2021-1386 in your software?

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

Check your SBOMs for free