OSV-2021-1085 Stack-buffer-overflow in strcat
A stack buffer overflow in the HTML Tidy library allows attackers to cause denial of service or potentially execute 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-1085?
OSV-2021-1085 is a memory corruption vulnerability in tidy-html5, published on 2 Aug 2021.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36743
Crash type: Stack-buffer-overflow WRITE {*}
Crash state:
strcat
prvTidystrrep
tidyMessageCreateInitV
Which versions are affected by OSV-2021-1085?
1 open source package ship an affected version, including tidy-html5.
| Package | Affected | Fixed in |
|---|---|---|
tidy-html5 OSS-Fuzz | All versions | None |
How do I fix OSV-2021-1085?
No fix has been published for OSV-2021-1085 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-1085 being exploited?
There is no known exploitation of OSV-2021-1085 in the wild and no public exploit code.