OSV-2021-977 Dynamic-stack-buffer-overflow in std::__1::pair<unsigned int, unsigned int>::pair<unsigned int, unsigned int, fal
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<unsigned int, unsigned int>::pair<unsigned int, unsigned int, fal
std::__1::pair<std::__1::__unwrap_ref_decay<unsigned int>::type, std::__1::__unw
void GFWX::decode<short>
Which versions are affected by OSV-2021-977?
1 open source package ship an affected version, including gfwx.
| Package | Affected | Fixed in |
|---|---|---|
gfwx OSS-Fuzz | All versions | None |
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.