joebowbeer commented on code in PR #3945: URL: https://github.com/apache/avro/pull/3945#discussion_r3832654339
########## doc/content/en/blog/releases/avro-1.12.2-released.md: ########## @@ -0,0 +1,124 @@ +--- +title: "Avro 1.12.2" +linkTitle: "Avro 1.12.2" +date: 2026-08-12 +--- + +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +The Apache Avro community is pleased to announce the release of Avro 1.12.2! + +All signed release artifacts, signatures and verification instructions can be found <a href="{{< relref "/project/download" >}}">here</a> + +## Security Fixes + +This release includes a broad round of hardening against malformed and adversarial input across the Java and Python SDKs (bounding allocations and enforcing decompression limits before trusting size fields read from the input), plus a handful of other fixes with security impact in C#, C++ and JavaScript: + +### C# +* [AVRO-4196](https://issues.apache.org/jira/browse/AVRO-4196): Package 'Microsoft.Build.Utilities.Core' 17.8.3 has a known high severity vulnerability +* [AVRO-4314](https://issues.apache.org/jira/browse/AVRO-4314): Validate names against the Avro name grammar at parse time + +### C++ +* [AVRO-4228](https://issues.apache.org/jira/browse/AVRO-4228): BinaryDecoder::arrayNext() does not handle negative block counts + +### Java +* [AVRO-4241](https://issues.apache.org/jira/browse/AVRO-4241): BinaryDecoder should verify available bytes before reading +* [AVRO-4247](https://issues.apache.org/jira/browse/AVRO-4247): Avro compression codecs should verify decompression size +* [AVRO-4254](https://issues.apache.org/jira/browse/AVRO-4254): Avoid logging datum values in UnresolvedUnionException +* [AVRO-4300](https://issues.apache.org/jira/browse/AVRO-4300): Bound array/map allocation and skipping when decoding on both the classic and fast readers +* [AVRO-4313](https://issues.apache.org/jira/browse/AVRO-4313): javaAnnotation values can inject arbitrary Java code into generated sources +* [AVRO-4323](https://issues.apache.org/jira/browse/AVRO-4323): Bound DataFileStream block size against available input before allocating the block buffer +* [AVRO-4324](https://issues.apache.org/jira/browse/AVRO-4324): Align ReflectDatumReader.readArray with GenericDatumReader eager-allocation guards for malformed input +* [AVRO-4325](https://issues.apache.org/jira/browse/AVRO-4325): Validate column-file header counts and lengths before allocating in the Trevni readers + +### JavaScript +* [AVRO-4252](https://issues.apache.org/jira/browse/AVRO-4252): Update JS dependencies with security issues + +### Python +* [AVRO-4290](https://issues.apache.org/jira/browse/AVRO-4290): Enforce a maximum decompressed block size +* [AVRO-4296](https://issues.apache.org/jira/browse/AVRO-4296): Bound allocation when decoding length-prefixed values and collections + + +## Breaking Changes + +### Java +* [AVRO-4189](https://issues.apache.org/jira/browse/AVRO-4189) ([#3693](https://github.com/apache/avro/pull/3693)): Classes referenced by the `java-class` schema property are now validated when using the fast reader. Avro will throw a `SecurityException` instead of instantiating non-permitted classes. Set the system property `org.apache.avro.SERIALIZABLE_PACKAGES` to `*`, or call `ClassSecurityValidator.setGlobal(...)`, to restore the old behavior. Review Comment: Mention that `org.apache.avro.SERIALIZABLE_PACKAGES` was deprecated a year ago in [1.11.5](https://avro.apache.org/blog/2025/10/16/avro-1.11.5/) and [1.12.1](https://avro.apache.org/blog/2025/10/16/avro-1.12.1/). Is there a workaround that does not use a deprecated property that does not require listing all the possible classes that might need serialization? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
