OSV-2021-977 Dynamic-stack-buffer-overflow in std::__1::pair<unsigned int, unsigned int>::pair<unsigned int, unsigned int, fal

Not scored Published

A dynamic stack buffer overflow in C++ pair construction allows attackers to cause crashes or potentially execute arbitrary code via crafted input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
None listed

What is OSV-2021-977?

OSV-2021-977 is a memory corruption vulnerability in gfwx, published on 13 Jul 2021.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36062

Crash type: Dynamic-stack-buffer-overflow WRITE 4
Crash state:
std::__1::pair&lt;unsigned int, unsigned int&gt;::pair&lt;unsigned int, unsigned int, fal
std::__1::pair&lt;std::__1::__unwrap_ref_decay&lt;unsigned int&gt;::type, std::__1::__unw
void GFWX::decode&lt;short&gt;

Which versions are affected by OSV-2021-977?

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

PackageAffectedFixed in
gfwx OSS-FuzzAll versionsNone

How do I fix OSV-2021-977?

No fix has been published for OSV-2021-977 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-977 being exploited?

There is no known exploitation of OSV-2021-977 in the wild and no public exploit code.

Sources

Is OSV-2021-977 in your software?

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

Check your SBOMs for free