Lucene search

K
cveGoCVE-2022-2582
HistoryDec 27, 2022 - 10:15 p.m.

CVE-2022-2582

2022-12-2722:15:12
CWE-326
Go
web.nvd.nist.gov
66
aws
s3
crypto
sdk
vulnerability
plaintext
hash
metadata
nvd
cve-2022-2582

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

AI Score

4.3

Confidence

High

EPSS

0.001

Percentile

21.8%

The AWS S3 Crypto SDK sends an unencrypted hash of the plaintext alongside the ciphertext as a metadata field. This hash can be used to brute force the plaintext, if the hash is readable to the attacker. AWS now blocks this metadata field, but older SDK versions still send it.

Affected configurations

Nvd
Node
amazonaws_software_development_kitRange<1.34.0go
VendorProductVersionCPE
amazonaws_software_development_kit*cpe:2.3:a:amazon:aws_software_development_kit:*:*:*:*:*:go:*:*

CNA Affected

[
  {
    "vendor": "github.com/aws/aws-sdk-go",
    "product": "github.com/aws/aws-sdk-go/service/s3/s3crypto",
    "collectionURL": "https://pkg.go.dev",
    "packageName": "github.com/aws/aws-sdk-go/service/s3/s3crypto",
    "versions": [
      {
        "version": "0",
        "lessThan": "1.34.0",
        "status": "affected",
        "versionType": "semver"
      }
    ],
    "programRoutines": [
      {
        "name": "encodeMeta"
      },
      {
        "name": "DecryptionClient.GetObject"
      },
      {
        "name": "DecryptionClient.GetObjectWithContext"
      },
      {
        "name": "EncryptionClient.PutObject"
      },
      {
        "name": "EncryptionClient.PutObjectWithContext"
      },
      {
        "name": "S3LoadStrategy.Load"
      },
      {
        "name": "S3SaveStrategy.Save"
      },
      {
        "name": "defaultV2LoadStrategy.Load"
      },
      {
        "name": "kmsKeyHandler.DecryptKey"
      },
      {
        "name": "kmsKeyHandler.DecryptKeyWithContext"
      },
      {
        "name": "kmsKeyHandler.GenerateCipherData"
      },
      {
        "name": "kmsKeyHandler.GenerateCipherDataWithContext"
      }
    ],
    "defaultStatus": "unaffected"
  }
]

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

AI Score

4.3

Confidence

High

EPSS

0.001

Percentile

21.8%