GHSA-hv5g-q4h3-64q4: Duplicate Advisory Hard-coded Credentials Vulnerability

MODERATE
CVSS 5.3
CWE-798
Published
Advisory Summary

GHSA-hv5g-q4h3-64q4 is a MODERATE (CVSS 5.3) hard-coded credentials vulnerability (CWE-798: Use of Hard-coded Credentials) affecting Duplicate Advisory libraries in the Maven ecosystem. The issue involves hard-coded credentials in org.folio:mod-remote-storage. Remediation is available by upgrading affected packages to version 2.0.3, 1.7.2.

GHSA-hv5g-q4h3-64q4 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-hv5g-q4h3-64q4
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-798: Use of Hard-coded Credentials
Affected Product Duplicate Advisory
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

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

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 Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix GHSA-hv5g-q4h3-64q4

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.

org.folio:mod-remote-storage fixed: 2.0.3
<dependency>
    <groupId>org.folio</groupId>
    <artifactId>mod-remote-storage</artifactId>
    <version>2.0.3</version>
</dependency>
org.folio:mod-remote-storage fixed: 1.7.2
<dependency>
    <groupId>org.folio</groupId>
    <artifactId>mod-remote-storage</artifactId>
    <version>1.7.2</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=org.folio

How to Check if You Are Affected

To determine whether your Java application is affected by GHSA-hv5g-q4h3-64q4, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.folio

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 2.0.3), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.folio 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-798: Use of Hard-coded Credentials, where the product contains hard-coded credentials, such as a password or cryptographic key. 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-m8v7-469p-5x89. This link is maintained to preserve external references. ## Original Description Hard-coded credentials in mod-remote-storage versions under 1.7.2 and from 2.0.0 to 2.0.3 allows unauthorized users to gain read access to mod-inventory-storage records including instances, holdings, items, contributor-types, and identifier-types.

GHSA-hv5g-q4h3-64q4 Affected Duplicate Advisory Versions

2 component(s)
Fixed Versions:
2.0.31.7.2
Product / Package Ecosystem Affected Versions Fixed Version
org.folio:mod-remote-storage
Maven
≥ 2.0.0
< 2.0.3
2.0.3
org.folio:mod-remote-storage
Maven
< 1.7.2
1.7.2

References

Frequently Asked Questions

What is GHSA-hv5g-q4h3-64q4?
GHSA-hv5g-q4h3-64q4 is a security vulnerability in Duplicate Advisory involving Hard-coded credentials in org.folio:mod-remote-storage under CWE-798: Use of Hard-coded Credentials.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 2.0.3, 1.7.2 across affected packages: org.folio:mod-remote-storage.
What version fixes GHSA-hv5g-q4h3-64q4?
Upgrading to 2.0.3, 1.7.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mod-remote-storage affected?
Yes, org.folio:mod-remote-storage is affected in releases prior to 2.0.3, 1.7.2. Upgrade your dependency to 2.0.3, 1.7.2 or later.
What is the CVSS score of GHSA-hv5g-q4h3-64q4?
GHSA-hv5g-q4h3-64q4 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with GHSA-hv5g-q4h3-64q4?
GHSA-hv5g-q4h3-64q4 is classified under CWE-798: Use of Hard-coded Credentials (The product contains hard-coded credentials, such as a password or cryptographic key.).
How can I check Maven dependencies for GHSA-hv5g-q4h3-64q4?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.folio'. 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-hv5g-q4h3-64q4",
  "modified" : "2026-01-22T20:39:58Z",
  "published" : "2024-01-19T21:30:37Z",
  "withdrawn" : "2026-01-22T20:39:58Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Hard-coded credentials in org.folio:mod-remote-storage",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-m8v7-469p-5x89. This link is maintained to preserve external references.\n\n## Original Description\nHard-coded credentials in mod-remote-storage versions under 1.7.2 and from 2.0.0 to 2.0.3 allows unauthorized users to gain read access to mod-inventory-storage records including instances, holdings, items, contributor-types, and identifier-types.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.folio:mod-remote-storage"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.0.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.folio:mod-remote-storage"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.7.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/folio-org/mod-remote-storage/security/advisories/GHSA-m8v7-469p-5x89"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-23685"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/folio-org/mod-remote-storage/commit/57df495f76e9aa5be9ce7ce3a65f89b6dbcbc13b"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-m8v7-469p-5x89"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/folio-org/mod-remote-storage"
  }, {
    "type" : "WEB",
    "url" : "https://vulncheck.com/advisories/vc-advisory-GHSA-m8v7-469p-5x89"
  }, {
    "type" : "WEB",
    "url" : "https://wiki.folio.org/x/hbMMBw"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-798" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-23T14:35:53Z",
    "nvd_published_at" : "2024-01-19T21:15:10Z"
  }
}