Vulnerabilities in pkg:maven/org.folio/mod-data-export-spring

PACKAGE
Advisory Identifier: GHSA-vf78-3q9f-92g3
Advisory Summary

CVE-2024-23687 is a CRITICAL (CVSS 10.0) hard-coded system user credentials vulnerability (CWE-798: Use of Hard-coded Credentials) affecting Spring Framework libraries in the Maven ecosystem. The issue involves hard-coded system user credentials in folio data export spring module. Remediation is available by upgrading affected packages to version 2.0.2, 1.5.4.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.folio/mod-data-export-spring

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.folio/mod-data-export-spring. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vf78-3q9f-92g3 CVE-2024-23687 CRITICAL Hard-coded System User Credentials in Folio Data Export Spring module
GHSA-9rhq-86fm-qxqc - CRITICAL Duplicate Advisory: Hard-coded credentials in org.folio:mod-data-export-spring

CVE-2024-23687 at a Glance

CVE Identifier CVE-2024-23687
GHSA Identifier GHSA-vf78-3q9f-92g3
Severity CRITICAL
CVSS v3.1 Base Score 10.0
CWE Classification CWE-798: Use of Hard-coded Credentials
Affected Product Spring Framework
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 10.0

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

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

How to Fix CVE-2024-23687

To remediate this vulnerability, upgrade all affected Spring Framework 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-data-export-spring fixed: 2.0.2
<dependency>
    <groupId>org.folio</groupId>
    <artifactId>mod-data-export-spring</artifactId>
    <version>2.0.2</version>
</dependency>
org.folio:mod-data-export-spring fixed: 1.5.4
<dependency>
    <groupId>org.folio</groupId>
    <artifactId>mod-data-export-spring</artifactId>
    <version>1.5.4</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 CVE-2024-23687, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.folio

Analyze the terminal output to locate any version of Spring Framework in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.2), 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 Spring Framework, 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

### Impact The module creates a system user that is used to perform internal module-to-module operations. Credentials for this user are hard-coded in the source code. This makes it trivial to authenticate as this user, resulting in unauthorized access to potentially dangerous APIs, allowing to view and modify configuration including single-sign-on configuration, to read, add and modify user data, and to read and transfer fees/fines in a patron's account. ### Patches Upgrade mod-data-export-spring to >=2.0.2, or a 1.5.x version >=1.5.4. ### Workarounds No known workarounds. ### References https://wiki.folio.org/x/hbMMBw - FOLIO Security Advisory with Upgrade Instructions https://github.com/folio-org/mod-data-export-spring/commit/93aff4566bff59e30f4121b5a2bda5b0b508a446 - Fix

CVE-2024-23687 Affected Spring Framework Versions

2 component(s)
Fixed Versions:
2.0.21.5.4
Product / Package Ecosystem Affected Versions Fixed Version
org.folio:mod-data-export-spring
Maven
≥ 2.0.0
< 2.0.2
2.0.2
org.folio:mod-data-export-spring
Maven
< 1.5.4
1.5.4

References

Frequently Asked Questions

What is CVE-2024-23687?
CVE-2024-23687 is a security vulnerability in Spring Framework involving Hard-coded System User Credentials in Folio Data Export Spring module under CWE-798: Use of Hard-coded Credentials.
Which Spring Framework versions are affected?
Affected versions include releases prior to 2.0.2, 1.5.4 across affected packages: org.folio:mod-data-export-spring.
What version fixes CVE-2024-23687?
Upgrading to 2.0.2, 1.5.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mod-data-export-spring affected?
Yes, org.folio:mod-data-export-spring is affected in releases prior to 2.0.2, 1.5.4. Upgrade your dependency to 2.0.2, 1.5.4 or later.
What is the CVSS score of CVE-2024-23687?
CVE-2024-23687 has a CVSS v3.1 base score of 10.0 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N.
What CWE is associated with CVE-2024-23687?
CVE-2024-23687 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 CVE-2024-23687?
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-vf78-3q9f-92g3",
  "modified" : "2026-01-22T20:30:37Z",
  "published" : "2023-07-25T13:53:42Z",
  "aliases" : [ "CVE-2024-23687" ],
  "summary" : "Hard-coded System User Credentials in Folio Data Export Spring module ",
  "details" : "### Impact\nThe module creates a system user that is used to perform internal module-to-module operations.  Credentials for this user are hard-coded in the source code.  This makes it trivial to authenticate as this user, resulting in unauthorized access to potentially dangerous APIs, allowing to view and modify configuration including single-sign-on configuration, to read, add and modify user data, and to read and transfer fees/fines in a patron's account.\n\n### Patches\nUpgrade mod-data-export-spring to >=2.0.2, or a 1.5.x version >=1.5.4.\n\n### Workarounds\nNo known workarounds.\n\n### References\nhttps://wiki.folio.org/x/hbMMBw - FOLIO Security Advisory with Upgrade Instructions\nhttps://github.com/folio-org/mod-data-export-spring/commit/93aff4566bff59e30f4121b5a2bda5b0b508a446 - Fix",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.folio:mod-data-export-spring"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.0.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.folio:mod-data-export-spring"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.5.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/folio-org/mod-data-export-spring/security/advisories/GHSA-vf78-3q9f-92g3"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-23687"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/folio-org/mod-data-export-spring/commit/93aff4566bff59e30f4121b5a2bda5b0b508a446"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/folio-org/mod-data-export-spring/commit/cb6785565067a2a90c1e2250c241e5b23214c691"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/folio-org/mod-data-export-spring"
  }, {
    "type" : "WEB",
    "url" : "https://wiki.folio.org/x/hbMMBw"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-798" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-25T13:53:42Z",
    "nvd_published_at" : null
  }
}