[ 
https://issues.apache.org/jira/browse/HADOOP-19315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17892799#comment-17892799
 ] 

ASF GitHub Bot commented on HADOOP-19315:
-----------------------------------------

dom93dd commented on code in PR #7128:
URL: https://github.com/apache/hadoop/pull/7128#discussion_r1816693024


##########
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestPath.java:
##########
@@ -404,6 +404,8 @@ public void testGetName() {
   
   @Test (timeout = 30000)
   public void testAvroReflect() throws Exception {
+    // Avro expects explicitely stated, trusted packages used for 
(de-)serialization
+    System.setProperty("org.apache.avro.SERIALIZABLE_PACKAGES", 
"org.apache.hadoop.fs.Path");

Review Comment:
   Yup you're right, just checked the avro implementation how they check the 
package names.





> Bump avro from 1.9.2 to 1.11.4
> ------------------------------
>
>                 Key: HADOOP-19315
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19315
>             Project: Hadoop Common
>          Issue Type: Task
>          Components: build
>    Affects Versions: 3.4.0, 3.4.1
>            Reporter: Dominik Diedrich
>            Priority: Major
>              Labels: pull-request-available
>
> We should bump the avro version in the hadoop-project pom.xml from 1.9.2 to 
> 1.11.4 in order to fix following CVE's:
> * 
> [CVE-2024-47561|https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47561]
> * 
> [CVE-2023-39410|https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39410]
> I already fixed it locally and can create a PR for that.
> A few classes need to be adjusted, because avro introduced new getter, setter 
> methods for some member variables which are now private.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to