CVE-2023-46324: Github.com/free5gc/udm Free5GC Udm Vulnerable To Invalid Vulnerability
HIGHCVE-2023-46324 is a HIGH (CVSS 7.5) free5gc udm vulnerable to invalid vulnerability (CWE-327: Use of a Broken or Risky Cryptographic Algorithm) affecting Github.com/free5gc/udm libraries in the Go ecosystem. The issue involves free5gc udm vulnerable to invalid curve attack. Remediation is available by upgrading affected packages to version 1.2.0.
CVE-2023-46324 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2023-46324
To remediate this vulnerability, upgrade all affected Github.com/free5gc/udm dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/free5gc/udm to 1.2.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/free5gc/udm
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-46324, inspect your project dependencies for Github.com/free5gc/udm:
inspect dependencies for github.com/free5gc/udm
Analyze the terminal output to locate any version of Github.com/free5gc/udm in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-327: Use of a Broken or Risky Cryptographic Algorithm, where the product uses a broken or risky cryptographic algorithm or protocol. In Github.com/free5gc/udm, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-46324 Affected Github.com/free5gc/udm Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/free5gc/udm
|
Go |
< 1.2.0
|
1.2.0
|
References
Frequently Asked Questions
What is CVE-2023-46324?
Which Github.com/free5gc/udm versions are affected?
What version fixes CVE-2023-46324?
Is github.com/free5gc/udm affected?
What is the CVSS score of CVE-2023-46324?
What CWE is associated with CVE-2023-46324?
How can I check Go dependencies for CVE-2023-46324?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cqvv-r3g3-26rf",
"modified" : "2023-10-31T22:07:50Z",
"published" : "2023-10-23T03:30:30Z",
"aliases" : [ "CVE-2023-46324" ],
"summary" : "free5GC udm vulnerable to Invalid Curve Attack",
"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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/free5gc/udm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-46324"
}, {
"type" : "WEB",
"url" : "https://github.com/free5gc/udm/pull/20"
}, {
"type" : "WEB",
"url" : "https://github.com/free5gc/udm/commit/5e1479cc686f058992557669b13fd3761a1b6024"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/free5gc/udm"
}, {
"type" : "WEB",
"url" : "https://github.com/free5gc/udm/compare/v1.1.1...v1.2.0"
}, {
"type" : "WEB",
"url" : "https://www.gsma.com/security/wp-content/uploads/2023/10/0073-invalid_curve.pdf"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-327", "CWE-347" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-24T02:00:10Z",
"nvd_published_at" : "2023-10-23T01:15:07Z"
}
}