CVE-2023-47025: Github.com/free5gc/free5gc Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-q27h-hw2v-x5jm
CWE-400 CWE-770
Published
Advisory Summary

CVE-2023-47025 is a HIGH denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Github.com/free5gc/free5gc libraries in the Go ecosystem. The issue involves free5gc allows a local attacker to cause a denial of service via the free5gc-compose component. Remediation is available in the latest vendor maintenance releases.

CVE-2023-47025 at a Glance

CVE Identifier CVE-2023-47025
GHSA Identifier GHSA-q27h-hw2v-x5jm
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Github.com/free5gc/free5gc
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2023-47025

To remediate this vulnerability, upgrade all affected Github.com/free5gc/free5gc dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/free5gc/free5gc fixed: Latest secure release
Upgrade github.com/free5gc/free5gc to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/free5gc/free5gc

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-47025, inspect your project dependencies for Github.com/free5gc/free5gc:

inspect dependencies for github.com/free5gc/free5gc

Analyze the terminal output to locate any version of Github.com/free5gc/free5gc in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Github.com/free5gc/free5gc, 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

An issue in Free5gc v.3.3.0 allows a local attacker to cause a denial of service via the free5gc-compose component.

CVE-2023-47025 Affected Github.com/free5gc/free5gc Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/free5gc/free5gc
Go
≤ 3.3.0

References

Frequently Asked Questions

What is CVE-2023-47025?
CVE-2023-47025 is a security vulnerability in Github.com/free5gc/free5gc involving Free5gc allows a local attacker to cause a denial of service via the free5gc-compose component under CWE-400: Uncontrolled Resource Consumption.
Which Github.com/free5gc/free5gc versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/free5gc/free5gc.
What version fixes CVE-2023-47025?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/free5gc/free5gc affected?
Yes, github.com/free5gc/free5gc is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2023-47025?
CVE-2023-47025 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Go dependencies for CVE-2023-47025?
Run the dependency tree command: 'inspect dependencies for github.com/free5gc/free5gc'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-q27h-hw2v-x5jm",
  "modified" : "2023-11-17T14:58:08Z",
  "published" : "2023-11-17T00:31:06Z",
  "aliases" : [ "CVE-2023-47025" ],
  "summary" : "Free5gc allows a local attacker to cause a denial of service via the free5gc-compose component",
  "details" : "An issue in Free5gc v.3.3.0 allows a local attacker to cause a denial of service via the free5gc-compose component.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/free5gc/free5gc"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "3.3.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-47025"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/free5gc/free5gc/issues/501"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/free5gc/free5gc"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400", "CWE-770" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-11-17T14:58:08Z",
    "nvd_published_at" : "2023-11-16T23:15:08Z"
  }
}