CVE-2022-38871 Free5gc vulnerable to uncontrolled resource consumption

High 7.5 Published Updated

Attackers can cause a denial of service in the AMF component of Free5gc by sending malformed NAS messages.

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-38871?

CVE-2022-38871 is a high-severity denial of service vulnerability in Free5gc Free5gc, published on 18 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Free5gc v3.0.5, the AMF breaks due to malformed NAS messages.

Weakness: CWE-400

Which versions are affected by CVE-2022-38871?

2 open source packages ship an affected version, including github.com/free5gc/free5gc. It affects 1 product.

PackageAffectedFixed in
github.com/free5gc/free5gc GoAll versionsNone
github.com/free5gc/free5gc GoAll versionsNone

Products include Free5gc Free5gc.

How do I fix CVE-2022-38871?

No fix has been published for CVE-2022-38871 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-38871 being exploited?

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

All Free5gc Free5gc vulnerabilities

Sources

Also known as GHSA-m74x-fxjh-3qh9.

Is CVE-2022-38871 in your software?

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

Check your SBOMs for free