CVE-2022-43286 Use after free in n/a

Critical 9.8 Published Updated

A heap-use-after-free in Nginx NJS allows attackers to execute arbitrary code or cause denial of service via crafted JSON 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 CVE-2022-43286?

CVE-2022-43286 is a critical use after free vulnerability in n/a, published on 28 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Nginx NJS v0.7.2 was discovered to contain a heap-use-after-free bug caused by illegal memory copy in the function njs_json_parse_iterator_call at njs_json.c.

Weakness: CWE-416

Which versions are affected by CVE-2022-43286?

It affects 1 product.

Products include F5 Njs.

How do I fix CVE-2022-43286?

No fix has been published for CVE-2022-43286 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 CVE-2022-43286 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-43286 exists.

Sources

Also known as GHSA-qw9g-h8v6-7xfq.

Is CVE-2022-43286 in your software?

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

Check your SBOMs for free