-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bump(ftp): commons-net 3.11.1 (was 3.8.0) #2945
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
One of the failing tests was ftps, let's run again and see if it was a random failure |
Doesn't look too good |
This error is not directly connected to the change of default in 3.9.0, it fails locally with
|
As in, it was already failing? |
No, as in fails only after the upgrade, but switching back the default the CVE reported doesn't help. |
There were not many changes in commons-net between 3.8.0 and 3.9.0: Tests in our |
When trying to reproduce locally, I do get another error:
It is the same on
and then
|
Waiting for upstream issue https://issues.apache.org/jira/browse/NET-718 |
Bumped commons-net to 3.10.0 but according to their issue tracker the problem is not fixed. |
When getting back to this, notice even |
sshj already bumped with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -21,7 +21,7 @@ | |||
import java.util.concurrent.CompletionStage; | |||
import java.util.function.Function; | |||
|
|||
public class FtpsWithProxyStageTest extends BaseFtpSupport implements CommonFtpStageTest { | |||
@Ignore public class FtpsWithProxyStageTest extends BaseFtpSupport implements CommonFtpStageTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to add a comment explaining why it is ignored
CVE-2021-37533: Apache Commons Net's FTP client trusts the host from PASV response by default
Tests in our
FtpsWithProxyStageTest
started failing which makes apache/commons-net#90 look suspicious. We had to disable the test.Refs