OSV-2022-40 UNKNOWN READ in md_build_attribute
An unknown read error in the markdown parser can cause a crash, leading to denial of service for applications processing untrusted 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-2022-40?
OSV-2022-40 is a memory corruption vulnerability in md4c, published on 14 Jan 2022.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43587
Crash type: UNKNOWN READ
Crash state:
md_build_attribute
md_enter_leave_span_a
md_process_normal_block_contents
Which versions are affected by OSV-2022-40?
1 open source package ship an affected version, including md4c.
| Package | Affected | Fixed in |
|---|---|---|
md4c OSS-Fuzz | All versions | None |
How do I fix OSV-2022-40?
No fix has been published for OSV-2022-40 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-2022-40 being exploited?
There is no known exploitation of OSV-2022-40 in the wild and no public exploit code.