Vulnerabilities in pkg:maven/org.apache.iotdb/iotdb-parent

PACKAGE
Advisory Identifier: GHSA-f23h-52hj-99p6
Advisory Summary

CVE-2023-51656 is a CRITICAL (CVSS 9.8) unsafe deserialize map vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Apache IoTDB libraries in the Maven ecosystem. The issue involves unsafe deserialize map in sync tool. Remediation is available by upgrading affected packages to version 1.2.2.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.iotdb/iotdb-parent

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.iotdb/iotdb-parent. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-f23h-52hj-99p6 CVE-2023-51656 CRITICAL Apache IoTDB: Unsafe deserialize map in Sync Tool
GHSA-pp4w-9x82-6r47 CVE-2023-24830 HIGH Withdrawn Advisory: Apache IoTDB contains Improper Authentication
GHSA-wc6f-cjcp-cc33 CVE-2020-1952 HIGH Improper Certificate Validation in Apache IoTDB

CVE-2023-51656 at a Glance

CVE Identifier CVE-2023-51656
GHSA Identifier GHSA-f23h-52hj-99p6
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Apache IoTDB
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.8

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:H/I:H/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 High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2023-51656

To remediate this vulnerability, upgrade all affected Apache IoTDB 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.apache.iotdb:iotdb-parent fixed: 1.2.2
<dependency>
    <groupId>org.apache.iotdb</groupId>
    <artifactId>iotdb-parent</artifactId>
    <version>1.2.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.apache.iotdb

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.apache.iotdb

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

Note: The mvn dependency:tree -Dincludes=org.apache.iotdb 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-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Apache IoTDB, 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

Deserialization of Untrusted Data vulnerability in Apache IoTDB.This issue affects Apache IoTDB: from 0.13.0 through 0.13.4. Users are recommended to upgrade to version 1.2.2, which fixes the issue.

CVE-2023-51656 Affected Apache IoTDB Versions

1 component(s)
Fixed Versions:
1.2.2
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.iotdb:iotdb-parent
Maven
≥ 0.13.0
< 1.2.2
1.2.2

References

Frequently Asked Questions

What is CVE-2023-51656?
CVE-2023-51656 is a security vulnerability in Apache IoTDB involving Unsafe deserialize map in Sync Tool under CWE-502: Deserialization of Untrusted Data.
Which Apache IoTDB versions are affected?
Affected versions include releases prior to 1.2.2 across affected packages: org.apache.iotdb:iotdb-parent.
What version fixes CVE-2023-51656?
Upgrading to 1.2.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is iotdb-parent affected?
Yes, org.apache.iotdb:iotdb-parent is affected in releases prior to 1.2.2. Upgrade your dependency to 1.2.2 or later.
What is the CVSS score of CVE-2023-51656?
CVE-2023-51656 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2023-51656?
CVE-2023-51656 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check Maven dependencies for CVE-2023-51656?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.iotdb'. 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-f23h-52hj-99p6",
  "modified" : "2025-02-13T19:30:31Z",
  "published" : "2023-12-21T12:30:29Z",
  "aliases" : [ "CVE-2023-51656" ],
  "summary" : "Apache IoTDB: Unsafe deserialize map in Sync Tool",
  "details" : "Deserialization of Untrusted Data vulnerability in Apache IoTDB.This issue affects Apache IoTDB: from 0.13.0 through 0.13.4.\n\nUsers are recommended to upgrade to version 1.2.2, which fixes the issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.iotdb:iotdb-parent"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.13.0"
      }, {
        "fixed" : "1.2.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-51656"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/iotdb"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/zy3klwpv11vl5n65josbfo2fyzxg3dxc"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2023/12/21/5"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-12-21T18:10:56Z",
    "nvd_published_at" : "2023-12-21T12:15:08Z"
  }
}