Vulnerabilities in pkg:golang/github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs

PACKAGE
Advisory Summary

GHSA-xmrv-pmrh-hhx2 is a MODERATE (CVSS 5.9) denial of service vulnerability (CWE-20: Improper Input Validation) affecting Github.com/aws/aws sdk go v2/aws/protocol/eventstream libraries in the Go ecosystem. The issue involves denial of service due to panic in aws sdk for go v2 sdk eventstream decoder. Remediation is available by upgrading affected packages to version 1.7.8, 1.15.2, 1.51.8, 1.50.4, 1.65.0, 1.52.19, 1.43.5, 1.88.5, 1.35.15, 1.97.3, 1.39.6, 1.34.5.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-xmrv-pmrh-hhx2 - MODERATE Denial of Service due to Panic in AWS SDK for Go v2 SDK EventStream Decoder

GHSA-xmrv-pmrh-hhx2 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-xmrv-pmrh-hhx2
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-20: Improper Input Validation
Affected Product Github.com/aws/aws sdk go v2/aws/protocol/eventstream
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix GHSA-xmrv-pmrh-hhx2

To remediate this vulnerability, upgrade all affected Github.com/aws/aws sdk go v2/aws/protocol/eventstream dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream fixed: 1.7.8
Upgrade github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream to 1.7.8
github.com/aws/aws-sdk-go-v2/service/bedrockagentcore fixed: 1.15.2
Upgrade github.com/aws/aws-sdk-go-v2/service/bedrockagentcore to 1.15.2
github.com/aws/aws-sdk-go-v2/service/bedrockagentruntime fixed: 1.51.8
Upgrade github.com/aws/aws-sdk-go-v2/service/bedrockagentruntime to 1.51.8
github.com/aws/aws-sdk-go-v2/service/bedrockruntime fixed: 1.50.4
Upgrade github.com/aws/aws-sdk-go-v2/service/bedrockruntime to 1.50.4
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs fixed: 1.65.0
Upgrade github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs to 1.65.0
github.com/aws/aws-sdk-go-v2/service/iotsitewise fixed: 1.52.19
Upgrade github.com/aws/aws-sdk-go-v2/service/iotsitewise to 1.52.19
github.com/aws/aws-sdk-go-v2/service/kinesis fixed: 1.43.5
Upgrade github.com/aws/aws-sdk-go-v2/service/kinesis to 1.43.5
github.com/aws/aws-sdk-go-v2/service/lambda fixed: 1.88.5
Upgrade github.com/aws/aws-sdk-go-v2/service/lambda to 1.88.5
github.com/aws/aws-sdk-go-v2/service/lexruntimev2 fixed: 1.35.15
Upgrade github.com/aws/aws-sdk-go-v2/service/lexruntimev2 to 1.35.15
github.com/aws/aws-sdk-go-v2/service/s3 fixed: 1.97.3
Upgrade github.com/aws/aws-sdk-go-v2/service/s3 to 1.97.3
github.com/aws/aws-sdk-go-v2/service/sagemakerruntime fixed: 1.39.6
Upgrade github.com/aws/aws-sdk-go-v2/service/sagemakerruntime to 1.39.6
github.com/aws/aws-sdk-go-v2/service/transcribestreaming fixed: 1.34.5
Upgrade github.com/aws/aws-sdk-go-v2/service/transcribestreaming to 1.34.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream

How to Check if You Are Affected

To determine whether your application is affected by GHSA-xmrv-pmrh-hhx2, inspect your project dependencies for Github.com/aws/aws sdk go v2/aws/protocol/eventstream:

inspect dependencies for github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream

Analyze the terminal output to locate any version of Github.com/aws/aws sdk go v2/aws/protocol/eventstream in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.8), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Github.com/aws/aws sdk go v2/aws/protocol/eventstream, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

**CVSSv3.1 Rating**: [Medium] **CVSSv3.1 Score**: [5.9] **CVSSv3.1 Vector String**: [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H] ## Summary and Impact An issue exists in the the EventStream header decoder in AWS SDK for Go v2 in versions predating [2026-03-23](https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2026-03-23). An actor can send a malformed EventStream response frame containing a crafted header value type byte outside the valid range, which can cause the host process to terminate. Impacted versions: < [2026-03-23](https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2026-03-23) ## Patches This issue has been addressed in versions [2026-03-23](https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2026-03-23) and above. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. ## Workarounds Not Applicable ## References If you have any questions or comments about this advisory, we ask that you contact [AWS/Amazon] Security via our [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.

GHSA-xmrv-pmrh-hhx2 Affected Github.com/aws/aws sdk go v2/aws/protocol/eventstream Versions

12 component(s)
Fixed Versions:
1.7.81.15.21.51.81.50.41.65.01.52.191.43.51.88.51.35.151.97.31.39.61.34.5
Product / Package Ecosystem Affected Versions Fixed Version
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream
Go
< 1.7.8
1.7.8
github.com/aws/aws-sdk-go-v2/service/bedrockagentcore
Go
< 1.15.2
1.15.2
github.com/aws/aws-sdk-go-v2/service/bedrockagentruntime
Go
< 1.51.8
1.51.8
github.com/aws/aws-sdk-go-v2/service/bedrockruntime
Go
< 1.50.4
1.50.4
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs
Go
< 1.65.0
1.65.0
github.com/aws/aws-sdk-go-v2/service/iotsitewise
Go
< 1.52.19
1.52.19
github.com/aws/aws-sdk-go-v2/service/kinesis
Go
< 1.43.5
1.43.5
github.com/aws/aws-sdk-go-v2/service/lambda
Go
< 1.88.5
1.88.5
github.com/aws/aws-sdk-go-v2/service/lexruntimev2
Go
< 1.35.15
1.35.15
github.com/aws/aws-sdk-go-v2/service/s3
Go
< 1.97.3
1.97.3
github.com/aws/aws-sdk-go-v2/service/sagemakerruntime
Go
< 1.39.6
1.39.6
github.com/aws/aws-sdk-go-v2/service/transcribestreaming
Go
< 1.34.5
1.34.5

References

Frequently Asked Questions

What is GHSA-xmrv-pmrh-hhx2?
GHSA-xmrv-pmrh-hhx2 is a security vulnerability in Github.com/aws/aws sdk go v2/aws/protocol/eventstream involving Denial of Service due to Panic in AWS SDK for Go v2 SDK EventStream Decoder under CWE-20: Improper Input Validation.
Which Github.com/aws/aws sdk go v2/aws/protocol/eventstream versions are affected?
Affected versions include releases prior to 1.7.8, 1.15.2, 1.51.8, 1.50.4, 1.65.0, 1.52.19, 1.43.5, 1.88.5, 1.35.15, 1.97.3, 1.39.6, 1.34.5 across affected packages: github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream, github.com/aws/aws-sdk-go-v2/service/bedrockagentcore, github.com/aws/aws-sdk-go-v2/service/bedrockagentruntime, github.com/aws/aws-sdk-go-v2/service/bedrockruntime, github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs, github.com/aws/aws-sdk-go-v2/service/iotsitewise, github.com/aws/aws-sdk-go-v2/service/kinesis, github.com/aws/aws-sdk-go-v2/service/lambda, github.com/aws/aws-sdk-go-v2/service/lexruntimev2, github.com/aws/aws-sdk-go-v2/service/s3, github.com/aws/aws-sdk-go-v2/service/sagemakerruntime, github.com/aws/aws-sdk-go-v2/service/transcribestreaming.
What version fixes GHSA-xmrv-pmrh-hhx2?
Upgrading to 1.7.8, 1.15.2, 1.51.8, 1.50.4, 1.65.0, 1.52.19, 1.43.5, 1.88.5, 1.35.15, 1.97.3, 1.39.6, 1.34.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream affected?
Yes, github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream is affected in releases prior to 1.7.8. Upgrade your dependency to 1.7.8 or later.
Is github.com/aws/aws-sdk-go-v2/service/bedrockagentcore affected?
Yes, github.com/aws/aws-sdk-go-v2/service/bedrockagentcore is affected in releases prior to 1.15.2. Upgrade your dependency to 1.15.2 or later.
What is the CVSS score of GHSA-xmrv-pmrh-hhx2?
GHSA-xmrv-pmrh-hhx2 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with GHSA-xmrv-pmrh-hhx2?
GHSA-xmrv-pmrh-hhx2 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Go dependencies for GHSA-xmrv-pmrh-hhx2?
Run the dependency tree command: 'inspect dependencies for github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xmrv-pmrh-hhx2",
  "modified" : "2026-04-08T00:18:57Z",
  "published" : "2026-04-08T00:18:56Z",
  "aliases" : [ ],
  "summary" : "Denial of Service due to Panic in AWS SDK for Go v2 SDK EventStream Decoder",
  "details" : "**CVSSv3.1 Rating**: [Medium]\n**CVSSv3.1 Score**: [5.9]\n**CVSSv3.1 Vector String**: [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H]\n\n## Summary and Impact\nAn issue exists in the the EventStream header decoder in AWS SDK for Go v2 in versions predating [2026-03-23](https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2026-03-23). An actor can send a malformed EventStream response frame containing a crafted header value type byte outside the valid range, which can cause the host process to terminate.\n\nImpacted versions: < [2026-03-23](https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2026-03-23)\n\n## Patches\nThis issue has been addressed in versions [2026-03-23](https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2026-03-23) and above. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. \n\n## Workarounds\nNot Applicable\n\n## References\nIf you have any questions or comments about this advisory, we ask that you contact [AWS/Amazon] Security via our [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.7.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-sdk-go-v2/service/bedrockagentcore"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.15.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-sdk-go-v2/service/bedrockagentruntime"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.51.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-sdk-go-v2/service/bedrockruntime"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.50.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.65.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-sdk-go-v2/service/iotsitewise"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.52.19"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-sdk-go-v2/service/kinesis"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.43.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-sdk-go-v2/service/lambda"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.88.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-sdk-go-v2/service/lexruntimev2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.35.15"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-sdk-go-v2/service/s3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.97.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-sdk-go-v2/service/sagemakerruntime"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.39.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-sdk-go-v2/service/transcribestreaming"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.34.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/aws/aws-sdk-go-v2/security/advisories/GHSA-xmrv-pmrh-hhx2"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/aws/aws-sdk-go-v2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2026-03-23"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-08T00:18:56Z",
    "nvd_published_at" : null
  }
}