Advisories for Maven/Com.amazonaws/Aws-Java-Sdk-S3 package

2022

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

The AWS SDK for Java enables Java developers to work with Amazon Web Services. A partial-path traversal issue exists within the downloadDirectory method in the AWS S3 TransferManager component of the AWS SDK for Java v1 prior to version 1.12.261. Applications using the SDK control the destinationDirectory argument, but S3 object keys are determined by the application that uploaded the objects. The downloadDirectory method allows the caller to pass a …