CVE-2024-32037: Gn services GeoNetwork Search End-point Information Disclosure Vulnerability

MODERATE
Advisory Identifier: GHSA-52rf-25hq-5m33
CVSS 5.3
CWE-200
Published
Advisory Summary

CVE-2024-32037 is a MODERATE (CVSS 5.3) geonetwork search end-point information disclosure vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Gn services libraries in the Maven ecosystem. The issue involves geonetwork search end-point information disclosure in response headers. Remediation is available by upgrading affected packages to version 4.4.5, 4.2.10.

CVE-2024-32037 at a Glance

CVE Identifier CVE-2024-32037
GHSA Identifier GHSA-52rf-25hq-5m33
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Gn services
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 CVE-2024-32037

To remediate this vulnerability, upgrade all affected Gn services 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.geonetwork-opensource:gn-services fixed: 4.4.5
<dependency>
    <groupId>org.geonetwork-opensource</groupId>
    <artifactId>gn-services</artifactId>
    <version>4.4.5</version>
</dependency>
org.geonetwork-opensource:gn-services fixed: 4.2.10
<dependency>
    <groupId>org.geonetwork-opensource</groupId>
    <artifactId>gn-services</artifactId>
    <version>4.2.10</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.geonetwork-opensource

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2024-32037, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.geonetwork-opensource

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

Note: The mvn dependency:tree -Dincludes=org.geonetwork-opensource 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Gn services, 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 search end-point response headers contain information about Elasticsearch software in use. This information is sensitive from a security point of view because it allows software used by the server to be easily identified. ### Patches GeoNetwork 4.4.5 / 4.2.10 ### Workarounds None ### References - [CVE-2024-32037](https://www.cve.org/CVERecord?id=CVE-2024-32037) - [Search service](https://docs.geonetwork-opensource.org/4.4/api/search/) ### Credits - [Ministry of Economic Affairs and Climate Policy](https://www.rijksoverheid.nl/ministeries/ministerie-van-economische-zaken-en-klimaat), The Netherlands.

CVE-2024-32037 Affected Gn services Versions

2 component(s)
Fixed Versions:
4.4.54.2.10
Product / Package Ecosystem Affected Versions Fixed Version
org.geonetwork-opensource:gn-services
Maven
≥ 4.4.0
< 4.4.5
4.4.5
org.geonetwork-opensource:gn-services
Maven
< 4.2.10
4.2.10

References

Frequently Asked Questions

What is CVE-2024-32037?
CVE-2024-32037 is a security vulnerability in Gn services involving GeoNetwork search end-point information disclosure in response headers under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Gn services versions are affected?
Affected versions include releases prior to 4.4.5, 4.2.10 across affected packages: org.geonetwork-opensource:gn-services.
What version fixes CVE-2024-32037?
Upgrading to 4.4.5, 4.2.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is gn-services affected?
Yes, org.geonetwork-opensource:gn-services is affected in releases prior to 4.4.5, 4.2.10. Upgrade your dependency to 4.4.5, 4.2.10 or later.
What is the CVSS score of CVE-2024-32037?
CVE-2024-32037 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 CVE-2024-32037?
CVE-2024-32037 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Maven dependencies for CVE-2024-32037?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.geonetwork-opensource'. 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-52rf-25hq-5m33",
  "modified" : "2025-02-12T18:20:01Z",
  "published" : "2025-02-11T22:47:11Z",
  "aliases" : [ "CVE-2024-32037" ],
  "summary" : "GeoNetwork search end-point information disclosure in response headers",
  "details" : "### Impact\n\nThe search end-point response headers contain information about Elasticsearch software in use. This information is sensitive from a security point of view because it allows software used by the server to be easily identified.\n\n### Patches\n\nGeoNetwork 4.4.5 / 4.2.10\n\n### Workarounds\n\nNone\n\n### References\n- [CVE-2024-32037](https://www.cve.org/CVERecord?id=CVE-2024-32037)\n- [Search service](https://docs.geonetwork-opensource.org/4.4/api/search/)\n\n### Credits\n\n- [Ministry of Economic Affairs and Climate Policy](https://www.rijksoverheid.nl/ministeries/ministerie-van-economische-zaken-en-klimaat), The Netherlands.",
  "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.geonetwork-opensource:gn-services"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.4.0"
      }, {
        "fixed" : "4.4.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.geonetwork-opensource:gn-services"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.2.10"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-52rf-25hq-5m33"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-32037"
  }, {
    "type" : "WEB",
    "url" : "https://docs.geonetwork-opensource.org/4.4/api/search"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/geonetwork/core-geonetwork"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/geonetwork/core-geonetwork/releases/tag/4.2.10"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/geonetwork/core-geonetwork/releases/tag/4.4.5"
  }, {
    "type" : "WEB",
    "url" : "https://www.cve.org/CVERecord?id=CVE-2024-32037"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-02-11T22:47:11Z",
    "nvd_published_at" : "2025-02-11T22:15:27Z"
  }
}