OSV-2020-831 Heap-buffer-overflow in g_string_insert_len
A heap-buffer-overflow in GLib's string insertion function can lead to crashes or potential code execution when processing malformed URIs.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Not stated
- Victim action needed
- Not stated
- Fix
- None listed
What is OSV-2020-831?
OSV-2020-831 is a memory corruption vulnerability in glib, published on 14 Jul 2020.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=23816
Crash type: Heap-buffer-overflow READ 5
Crash state:
g_string_insert_len
g_string_append_len
_uri_encoder
Which versions are affected by OSV-2020-831?
1 open source package ship an affected version, including glib.
| Package | Affected | Fixed in |
|---|---|---|
glib OSS-Fuzz | All versions | None |
How do I fix OSV-2020-831?
No fix has been published for OSV-2020-831 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-2020-831 being exploited?
There is no known exploitation of OSV-2020-831 in the wild and no public exploit code.