CVE-2025-33042: Apache Avro Java SDK: Code injection on Java generated code
Improper Control of Generation of Code ('Code Injection') vulnerability in Apache Avro Java SDK when generating specific records from untrusted Avro schemas.
This issue affects Apache Avro Java SDK: all versions through 1.11.4 and version 1.12.0.
Users are recommended to upgrade to version 1.12.1 or 1.11.5, which fix the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.apache.avro:avroto a version that resolves this vulnerability.Fixed in 1.11.5 - Upgrade
Upgrade
maven/org.apache.avro:avroto a version that resolves this vulnerability.Fixed in 1.12.1 - Upgrade
Upgrade
Apache Avro Java SDKto a version that resolves this vulnerability.Fixed in 1.12.1 - Upgrade
Upgrade
Apache Avro Java SDKto a version that resolves this vulnerability.Fixed in 1.11.5
Event History
Frequently Asked Questions
What is the severity of CVE-2025-33042?
CVE-2025-33042 is classified as a critical vulnerability due to its potential for code injection in Apache Avro Java SDK.
How do I fix CVE-2025-33042?
To resolve CVE-2025-33042, upgrade to Apache Avro Java SDK version 1.11.5 or later.
Which versions of Apache Avro Java SDK are affected by CVE-2025-33042?
CVE-2025-33042 affects all versions of Apache Avro Java SDK up to and including 1.11.4.
What type of vulnerability is CVE-2025-33042?
CVE-2025-33042 is a code injection vulnerability that occurs due to improper control over the generation of code.
Who is impacted by CVE-2025-33042?
Anyone using the affected versions of Apache Avro Java SDK for generating records from untrusted Avro schemas is impacted by CVE-2025-33042.