Security mailing lists by PureSourceCode

CVE-2020-8911

MEDIUM 5.6CVSS 3.1

CBC padding oracle issue in AWS S3 Crypto SDK for golang

A padding oracle vulnerability exists in the AWS S3 Crypto SDK for GoLang versions prior to V2. The SDK allows users to encrypt files with AES-CBC without computing a Message Authentication Code (MAC), which then allows an attacker who has write access to the target's S3 bucket and can observe whether or not an endpoint with access to the key can decrypt a file, they can reconstruct the plaintext with (on average) 128*length (plaintext) queries to the endpoint, by exploiting CBC's ability to manipulate the bytes of the next block and PKCS5 padding errors. It is recommended to update your SDK to V2 or later, and re-encrypt your files.

Published
11 Aug 2020
Last modified
10 Sep 2026
Assigned by
cve-coordination@google.com
NVD status
Modified
Weakness
CWE-327
Also known as
GHSA-f5pg-7wfw-84q9GO-2022-0646
Sources
NVDJSONOSV GHSA-f5pg-7wfw-84q9JSONOSV GO-2022-0646JSON

Scores

SourceScored byVersionScoreVector / decision
NVD cve-coordination@google.com (Secondary) CVSS 3.1 MEDIUM 5.6 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.6 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.6 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.1 AV:L/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD amazon aws_s3_crypto_sdk
cpe:2.3:a:amazon:aws_s3_crypto_sdk:*:*:*:*:*:golang:*:*
< 2.0 2.0
OSV Go github.com/aws/aws-sdk-go < 1.34.0 1.34.0
OSV Go github.com/aws/aws-sdk-go all versions

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 11 Aug 2020)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Feb 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.