# CVE-2023-46324: free5GC udm vulnerable to Invalid Curve Attack

> An attacker can exploit an invalid curve attack in free5GC UDM to decrypt SUCIs, potentially exposing subscriber identity data.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 23 Oct 2023
- **Updated:** 2 Aug 2024
- **Also known as:** GHSA-cqvv-r3g3-26rf

## What is CVE-2023-46324?

CVE-2023-46324 is a high-severity vulnerability in n/a, published on 23 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

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.

Weakness: CWE-347 (Improper Verification of Cryptographic Signature)

## Which versions are affected by CVE-2023-46324?

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


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/free5gc/udm` | Go | All versions | 1.2.0 |
| `github.com/free5gc/udm` | Go | All versions | 1.2.0 |

Products: Free5gc Udm.

## How do I fix CVE-2023-46324?

Upgrade github.com/free5gc/udm to 1.2.0 or later.

## Is CVE-2023-46324 being exploited?

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

## Other vulnerabilities in n/a

- [CVE-2026-33064](https://insights.sbomify.com/CVE-2026-33064/): free5GC UDM DataChangeNotification Procedure Panic Due to Nil Pointer Dereference (high 8.7)
- [CVE-2026-33191](https://insights.sbomify.com/CVE-2026-33191/): free5GC UDM vulnerable to null byte injection in URL path parameters causing 500 Internal Server Error (high 8.7)
- [CVE-2026-33192](https://insights.sbomify.com/CVE-2026-33192/): free5GC UDM incorrectly returns 500 for empty supi path parameter in PATCH sdm-subscriptions reques (high 8.7)
- [CVE-2026-33065](https://insights.sbomify.com/CVE-2026-33065/): free5GC UDM incorrectly returns 500 for empty supi path parameter in DELETE sdm-subscriptions request (medium 6.9)
- [CVE-2026-27642](https://insights.sbomify.com/CVE-2026-27642/): free5GC has Improper Input Validation in UDM UEAU Service (medium 6.6)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-46324 and fix it if it is affected.

What it is: CVE-2023-46324 is a high-severity vulnerability in n/a, published on 23 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2023-46324 in the wild and no public exploit code.

Affected packages and fixed versions:
- github.com/free5gc/udm (Go): affected all versions; fixed in 1.2.0
- github.com/free5gc/udm (Go): affected all versions; fixed in 1.2.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2023-46324/ (Markdown: https://insights.sbomify.com/CVE-2023-46324/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2023-46324
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-46324
- OSV: https://osv.dev/vulnerability/CVE-2023-46324

---
From sbomify Insights: https://insights.sbomify.com/CVE-2023-46324/
Summaries are generated and may contain mistakes; the official description above is the record.
