Upstream information
Description
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 filesystem object in the object key but contained an issue in the validation logic for the key name. A knowledgeable actor could bypass the validation logic by including a UNIX double-dot in the bucket key. Under certain conditions, this could permit them to retrieve a directory from their S3 bucket that is one level up in the filesystem from their working directory. This issue's scope is limited to directories whose name prefix matches the destinationDirectory. E.g. for destination directory`/tmp/foo`, the actor can cause a download to `/tmp/foo-bar`, but not `/tmp/bar`. If `com.amazonaws.services.s3.transfer.TransferManager::downloadDirectory` is used to download an untrusted buckets contents, the contents of that bucket can be written outside of the intended destination directory. Version 1.12.261 contains a patch for this issue. As a workaround, when calling `com.amazonaws.services.s3.transfer.TransferManager::downloadDirectory`, pass a `KeyFilter` that forbids `S3ObjectSummary` objects that `getKey` method return a string containing the substring `..` .SUSE information
Overall state of this security issue: Resolved
This issue is currently rated as having important severity.
National Vulnerability Database | SUSE | |
---|---|---|
Base Score | 6.5 | 7.9 |
Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L |
Attack Vector | Network | Network |
Attack Complexity | Low | High |
Privileges Required | Low | Low |
User Interaction | None | Required |
Scope | Unchanged | Changed |
Confidentiality Impact | High | High |
Integrity Impact | None | High |
Availability Impact | None | Low |
CVSSv3 Version | 3.1 | 3.1 |
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
Product(s) | Source package | State |
---|---|---|
Products under general support and receiving all security fixes. | ||
SUSE Linux Enterprise Desktop 15 SP5 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Desktop 15 SP6 | aws-sdk-java | Not affected |
SUSE Linux Enterprise High Performance Computing 15 SP5 | aws-sdk-java | Not affected |
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | aws-sdk-java | Not affected |
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | aws-sdk-java | Not affected |
SUSE Linux Enterprise High Performance Computing 15 SP6 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Module for Development Tools 15 SP5 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Module for Development Tools 15 SP6 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server 15 SP5 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server 15 SP5-LTSS | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server 15 SP6 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server for SAP Applications 15 SP5 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server for SAP Applications 15 SP6 | aws-sdk-java | Not affected |
SUSE Manager Proxy 4.3 | aws-sdk-java | Not affected |
SUSE Manager Retail Branch Server 4.3 | aws-sdk-java | Not affected |
SUSE Manager Server 4.3 | aws-sdk-java | Not affected |
openSUSE Leap 15.5 | aws-sdk-java | Not affected |
openSUSE Leap 15.6 | aws-sdk-java | Not affected |
Products under Long Term Service Pack support and receiving important and critical security fixes. | ||
SUSE Linux Enterprise Desktop 15 SP4 | aws-sdk-java | Not affected |
SUSE Linux Enterprise High Performance Computing 15 SP2 | aws-sdk-java | Not affected |
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | aws-sdk-java | Not affected |
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | aws-sdk-java | Not affected |
SUSE Linux Enterprise High Performance Computing 15 SP3 | aws-sdk-java | Not affected |
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | aws-sdk-java | Not affected |
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | aws-sdk-java | Not affected |
SUSE Linux Enterprise High Performance Computing 15 SP4 | aws-sdk-java | Not affected |
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | aws-sdk-java | Not affected |
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | aws-sdk-java | Not affected |
SUSE Linux Enterprise Module for Development Tools 15 SP2 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Module for Development Tools 15 SP3 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Module for Development Tools 15 SP4 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server 15 SP2 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server 15 SP2-LTSS | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server 15 SP3 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server 15 SP3-LTSS | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server 15 SP4 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server 15 SP4-LTSS | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server Business Critical Linux 15 SP2 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server for SAP Applications 15 SP2 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server for SAP Applications 15 SP3 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server for SAP Applications 15 SP4 | aws-sdk-java | Not affected |
Products past their end of life and not receiving proactive updates anymore. | ||
SUSE Enterprise Storage 7 | aws-sdk-java | Not affected |
SUSE Enterprise Storage 7.1 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Desktop 15 SP2 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Desktop 15 SP3 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Real Time 15 SP2 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Real Time 15 SP3 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Real Time 15 SP4 | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server 15 SP2-BCL | aws-sdk-java | Not affected |
SUSE Linux Enterprise Server 15 SP3-BCL | aws-sdk-java | Not affected |
SUSE Manager Proxy 4.1 | aws-sdk-java | Not affected |
SUSE Manager Proxy 4.2 | aws-sdk-java | Not affected |
SUSE Manager Retail Branch Server 4.1 | aws-sdk-java | Not affected |
SUSE Manager Retail Branch Server 4.2 | aws-sdk-java | Not affected |
SUSE Manager Server 4.1 | aws-sdk-java | Not affected |
SUSE Manager Server 4.2 | aws-sdk-java | Not affected |
openSUSE Leap 15.3 | aws-sdk-java | Not affected |
openSUSE Leap 15.4 | aws-sdk-java | Not affected |
SUSE Timeline for this CVE
CVE page created: Sat Jul 16 00:00:04 2022CVE page last modified: Sat Dec 21 00:11:01 2024