VDB
Sign up
HIGH7.5

GHSA-cqvv-r3g3-26rf

free5GC udm vulnerable to Invalid Curve Attack

Quick fix

GHSA-cqvv-r3g3-26rf — github.com/free5gc/udm: upgrade to the fixed version with the command below.

go get github.com/free5gc/udm@v1.2.0

Details

pkg/suci/suci.go in free5GC udm before 1.2.0, when Go before 1.19 is used, allows an Invalid Curve Attack because it may compute a shared secret via an uncompressed public key that has not been validated. An attacker can send arbitrary SUCIs to the UDM, which tries to decrypt them via both its private key and the attacker's public key.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/free5gc/udm
Introduced in: 0Fixed in: 1.2.0
Fixgo get github.com/free5gc/udm@v1.2.0

References