GHSA-hfj8-63c8-rmfw: Duplicate Advisory Inefficient Algorithmic Complexity Vulnerability

HIGH
CVSS 7.5
CWE-407
Published
Advisory Summary

GHSA-hfj8-63c8-rmfw is a HIGH (CVSS 7.5) inefficient algorithmic complexity vulnerability (CWE-407: Inefficient Algorithmic Complexity) affecting Duplicate Advisory libraries in the Maven ecosystem. The issue involves inefficient algorithmic complexity in com.upokecenter:cbor. Remediation is available by upgrading affected packages to version 4.5.1.

GHSA-hfj8-63c8-rmfw at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-hfj8-63c8-rmfw
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-407: Inefficient Algorithmic Complexity
Affected Product Duplicate Advisory
Package Ecosystem Maven
Published Date
Last Updated

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:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix GHSA-hfj8-63c8-rmfw

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

com.upokecenter:cbor fixed: 4.5.1
<dependency>
    <groupId>com.upokecenter</groupId>
    <artifactId>cbor</artifactId>
    <version>4.5.1</version>
</dependency>
Verify Direct and Transitive Dependencies

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

mvn dependency:tree -Dincludes=com.upokecenter

How to Check if You Are Affected

To determine whether your Java application is affected by GHSA-hfj8-63c8-rmfw, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.upokecenter

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.5.1), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.upokecenter command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-407: Inefficient Algorithmic Complexity, where an algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached. In Duplicate Advisory, 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

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-36p8-mvp6-cv38. This link is maintained to preserve external references. ## Original Description Inefficient algorithmic complexity in DecodeFromBytes function in com.upokecenter.cbor Java implementation of Concise Binary Object Representation (CBOR) versions 4.0.0 to 4.5.1 allows an attacker to cause a denial of service by passing a maliciously crafted input. Depending on an application's use of this library, this may be a remote attacker.

GHSA-hfj8-63c8-rmfw Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
4.5.1
Product / Package Ecosystem Affected Versions Fixed Version
com.upokecenter:cbor
Maven
≥ 4.0.0
< 4.5.1
4.5.1

References

Frequently Asked Questions

What is GHSA-hfj8-63c8-rmfw?
GHSA-hfj8-63c8-rmfw is a security vulnerability in Duplicate Advisory involving Inefficient Algorithmic Complexity in com.upokecenter:cbor under CWE-407: Inefficient Algorithmic Complexity.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 4.5.1 across affected packages: com.upokecenter:cbor.
What version fixes GHSA-hfj8-63c8-rmfw?
Upgrading to 4.5.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cbor affected?
Yes, com.upokecenter:cbor is affected in releases prior to 4.5.1. Upgrade your dependency to 4.5.1 or later.
What is the CVSS score of GHSA-hfj8-63c8-rmfw?
GHSA-hfj8-63c8-rmfw has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with GHSA-hfj8-63c8-rmfw?
GHSA-hfj8-63c8-rmfw is classified under CWE-407: Inefficient Algorithmic Complexity (An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.).
How can I check Maven dependencies for GHSA-hfj8-63c8-rmfw?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.upokecenter'. 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-hfj8-63c8-rmfw",
  "modified" : "2026-01-22T20:53:05Z",
  "published" : "2024-01-19T21:30:36Z",
  "withdrawn" : "2026-01-22T20:53:05Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Inefficient Algorithmic Complexity in com.upokecenter:cbor",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-36p8-mvp6-cv38. This link is maintained to preserve external references.\n\n## Original Description\nInefficient algorithmic complexity in DecodeFromBytes function in com.upokecenter.cbor Java implementation of Concise Binary Object Representation (CBOR) versions 4.0.0 to 4.5.1 allows an attacker to cause a denial of service by passing a maliciously crafted input. Depending on an application's use of this library, this may be a remote attacker.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.upokecenter:cbor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.5.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/peteroupc/CBOR-Java/security/advisories/GHSA-fj2w-wfgv-mwq6"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-23684"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-fj2w-wfgv-mwq6"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/peteroupc/CBOR-Java"
  }, {
    "type" : "WEB",
    "url" : "https://vulncheck.com/advisories/vc-advisory-GHSA-fj2w-wfgv-mwq6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-407" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-23T14:36:37Z",
    "nvd_published_at" : "2024-01-19T21:15:10Z"
  }
}