OSV-2020-1820 Stack-buffer-overflow in hermes::regex::Parser<hermes::regex::Regex<hermes::regex::UTF16RegexTraits>, cha
A stack buffer overflow in the Hermes regex parser can cause a crash, potentially leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2020-1820?
OSV-2020-1820 is a memory corruption vulnerability in hermes, published on 21 Sep 2020.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25815
Crash type: Stack-buffer-overflow READ 2
Crash state:
hermes::regex::Parser<hermes::regex::Regex<hermes::regex::UTF16RegexTraits>, cha
hermes::regex::Parser<hermes::regex::Regex<hermes::regex::UTF16RegexTraits>, cha
hermes::regex::Parser<hermes::regex::Regex<hermes::regex::UTF16RegexTraits>, cha
Which versions are affected by OSV-2020-1820?
1 open source package ship an affected version, including hermes.
| Package | Affected | Fixed in |
|---|---|---|
hermes OSS-Fuzz | All versions | None |
How do I fix OSV-2020-1820?
No fix has been published for OSV-2020-1820 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-1820 being exploited?
There is no known exploitation of OSV-2020-1820 in the wild and no public exploit code.