OSV-2022-514 Heap-use-after-free in AK::HashTable<AK::StringView, AK::Traits<AK::StringView>, false>::try_lookup_for
A heap-use-after-free in the SerenityOS JavaScript parser allows attackers to cause crashes or potentially execute code via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is OSV-2022-514?
OSV-2022-514 is an use after free vulnerability in serenity, published on 27 Jun 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48405
Crash type: Heap-use-after-free READ 2
Crash state:
AK::HashTable<AK::StringView, AK::Traits<AK::StringView>, false>::try_lookup_for
JS::Parser::is_private_identifier_valid
JS::Parser::parse_primary_expression
Which versions are affected by OSV-2022-514?
1 open source package ship an affected version, including serenity.
| Package | Affected | Fixed in |
|---|---|---|
serenity OSS-Fuzz | All versions | None |
How do I fix OSV-2022-514?
No fix has been published for OSV-2022-514 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2022-514 being exploited?
There is no known exploitation of OSV-2022-514 in the wild and no public exploit code.