OSV-2024-207 Heap-buffer-overflow in emit_goto

Not scored Published

A heap-buffer-overflow in the JavaScript parser allows attackers to cause crashes or potentially execute arbitrary code via crafted input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is OSV-2024-207?

OSV-2024-207 is a memory corruption vulnerability in quickjs, published on 27 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66831

Crash type: Heap-buffer-overflow READ 1
Crash state:
emit_goto
emit_class_field_init
js_parse_function_decl2

Which versions are affected by OSV-2024-207?

1 open source package ship an affected version, including quickjs.

PackageAffectedFixed in
quickjs OSS-FuzzAll versionsNone

How do I fix OSV-2024-207?

No fix has been published for OSV-2024-207 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-2024-207 being exploited?

There is no known exploitation of OSV-2024-207 in the wild and no public exploit code.

Sources

Is OSV-2024-207 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free