CVE-2022-43677 free5GC vulnerable to malformed NGAP message crashing the AMF and NGAP decoders

Medium 5.5 Published Updated

A malformed NGAP message causes an index-out-of-range panic, crashing the AMF and NGAP decoders in free5GC.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-43677?

CVE-2022-43677 is a medium-severity denial of service vulnerability in Free5gc Free5gc, published on 24 Oct 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In free5GC 3.2.1, a malformed NGAP message can crash the AMF and NGAP decoders via an index-out-of-range panic in aper.GetBitString.

Which versions are affected by CVE-2022-43677?

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

PackageAffectedFixed in
github.com/free5gc/free5gc GoAll versions to 3.2.1None
github.com/free5gc/free5gc GoAll versions to 3.2.1None
github.com/free5gc/aper GoAll versionsNone

Products include Free5gc Free5gc.

How do I fix CVE-2022-43677?

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

There is no known exploitation of CVE-2022-43677 in the wild and no public exploit code.

All Free5gc Free5gc vulnerabilities

Sources

Also known as GHSA-59hj-62f5-fgmc, GO-2022-1083.

Is CVE-2022-43677 in your software?

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

Check your SBOMs for free