joebowbeer commented on code in PR #3945:
URL: https://github.com/apache/avro/pull/3945#discussion_r3835873730


##########
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:
   Thanks for clarifying!
   
   It is the static fields of SpecificDatumReader (both) that are deprecated, 
not the system properties.
   
   
https://github.com/apache/avro/blob/326950f40c1172f7564c757b0e51c39883721083/lang/java/avro/src/main/java/org/apache/avro/specific/SpecificDatumReader.java#L39-L53



-- 
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]

Reply via email to