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.0Details
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
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-46324[ADVISORY]
- https://github.com/free5gc/udm/pull/20[WEB]
- https://github.com/free5gc/udm/commit/5e1479cc686f058992557669b13fd3761a1b6024[WEB]
- https://github.com/free5gc/udm[PACKAGE]
- https://github.com/free5gc/udm/compare/v1.1.1...v1.2.0[WEB]
- https://www.gsma.com/security/wp-content/uploads/2023/10/0073-invalid_curve.pdf[WEB]