Vulnerabilities in pkg:maven/org.apache.avro/avro

PACKAGE
Advisory Identifier: GHSA-rhrv-645h-fjfh
Advisory Summary

CVE-2023-39410 is a HIGH (CVSS 7.5) apache avro java sdk vulnerable vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Avro libraries in the Maven ecosystem. The issue involves apache avro java sdk vulnerable to improper input validation. Remediation is available by upgrading affected packages to version 1.11.3.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.avro/avro

2 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-rhrv-645h-fjfh CVE-2023-39410 HIGH Apache Avro Java SDK vulnerable to Improper Input Validation
GHSA-r7pg-v2c8-mfg3 CVE-2024-47561 CRITICAL Apache Avro Java SDK: Arbitrary Code Execution when reading Avro Data (Java SDK)

CVE-2023-39410 at a Glance

CVE Identifier CVE-2023-39410
GHSA Identifier GHSA-rhrv-645h-fjfh
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Avro
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 CVE-2023-39410

To remediate this vulnerability, upgrade all affected Avro 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.avro:avro fixed: 1.11.3
<dependency>
    <groupId>org.apache.avro</groupId>
    <artifactId>avro</artifactId>
    <version>1.11.3</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.avro

How to Check if You Are Affected

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

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

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

Note: The mvn dependency:tree -Dincludes=org.apache.avro 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 Avro, 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

When deserializing untrusted or corrupted data, it is possible for a reader to consume memory beyond the allowed constraints and thus lead to out of memory on the system. This issue affects Java applications using Apache Avro Java SDK up to and including 1.11.2. Users should update to apache-avro version 1.11.3 which addresses this issue.

CVE-2023-39410 Affected Avro Versions

1 component(s)
Fixed Versions:
1.11.3
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.avro:avro
Maven
< 1.11.3
1.11.3

References

Frequently Asked Questions

What is CVE-2023-39410?
CVE-2023-39410 is a security vulnerability in Avro involving Apache Avro Java SDK vulnerable to Improper Input Validation under CWE-502: Deserialization of Untrusted Data.
Which Avro versions are affected?
Affected versions include releases prior to 1.11.3 across affected packages: org.apache.avro:avro.
What version fixes CVE-2023-39410?
Upgrading to 1.11.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is avro affected?
Yes, org.apache.avro:avro is affected in releases prior to 1.11.3. Upgrade your dependency to 1.11.3 or later.
What is the CVSS score of CVE-2023-39410?
CVE-2023-39410 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 CVE-2023-39410?
CVE-2023-39410 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-39410?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.avro'. 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-rhrv-645h-fjfh",
  "modified" : "2025-07-31T14:22:32Z",
  "published" : "2023-09-29T18:30:22Z",
  "aliases" : [ "CVE-2023-39410" ],
  "summary" : "Apache Avro Java SDK vulnerable to Improper Input Validation",
  "details" : "When deserializing untrusted or corrupted data, it is possible for a reader to consume memory beyond the allowed constraints and thus lead to out of memory on the system.\n\nThis issue affects Java applications using Apache Avro Java SDK up to and including 1.11.2.  Users should update to apache-avro version 1.11.3 which addresses this issue.",
  "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" : "org.apache.avro:avro"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.11.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-39410"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/avro/commit/a12a7e44ddbe060c3dc731863cad5c15f9267828"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/avro"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/avro/PYSEC-2023-188.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/AVRO-3819"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/q142wj99cwdd0jo5lvdoxzoymlqyjdds"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20240621-0006"
  }, {
    "type" : "WEB",
    "url" : "https://www.openwall.com/lists/oss-security/2023/09/29/6"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2023/09/29/6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-502" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-09-29T22:06:14Z",
    "nvd_published_at" : "2023-09-29T17:15:46Z"
  }
}