CVE-2024-22087 Memory corruption in n/a

Critical 9.8 Published Updated

A stack-based buffer overflow in Pico HTTP Server allows remote attackers to execute arbitrary code via a long URI.

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-2024-22087?

CVE-2024-22087 is a critical memory corruption vulnerability in n/a, published on 5 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

route in main.c in Pico HTTP Server in C through f3b69a6 has an sprintf stack-based buffer overflow via a long URI, leading to remote code execution.

Weakness: CWE-787

Which versions are affected by CVE-2024-22087?

It affects 1 product.

Products include Alekseykurepin Pico Http Server in C.

How do I fix CVE-2024-22087?

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

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

Sources

Also known as GHSA-m892-r7q3-ww6c.

Is CVE-2024-22087 in your software?

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

Check your SBOMs for free