[ https://issues.apache.org/jira/browse/HADOOP-18197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17819229#comment-17819229 ]
Steve Loughran commented on HADOOP-18197: ----------------------------------------- saw this in the context of surefire upgrade #6537. java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer; is a recurrent nightmare; it's a change in the ByteBuffer classic which added an overloaded position() method in java9 *which was then backported to java8* some java8 jvms are happy, some fail. and if you compile with a newer JVM with the change (openjdk, corretto) you generate code which doesn't work everywhere. fixable in code with a cast, but you need to edit the code {code} ((Buffer)buffer).position()l {code} > Update protobuf 3.7.1 to a version without CVE-2021-22569 > --------------------------------------------------------- > > Key: HADOOP-18197 > URL: https://issues.apache.org/jira/browse/HADOOP-18197 > Project: Hadoop Common > Issue Type: Improvement > Components: hadoop-thirdparty > Affects Versions: thirdparty-1.2.0 > Reporter: Ivan Viaznikov > Assignee: PJ Fanning > Priority: Major > Labels: pull-request-available, security > Fix For: thirdparty-1.2.0 > > Time Spent: 2h 20m > Remaining Estimate: 0h > > The artifact `org.apache.hadoop:hadoop-common` brings in a dependency > `com.google.protobuf:protobuf-java:2.5.0`, which is an outdated version > released in 2013 and it contains a vulnerability > [CVE-2021-22569|https://nvd.nist.gov/vuln/detail/CVE-2021-22569]. > Therefore, requesting you to clarify if this library version is going to be > updated in the following releases -- 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