GHSA-475v-pq2g-fp9g: S2n quic Denial of Service Vulnerability

LOW
Published
Advisory Summary

GHSA-475v-pq2g-fp9g is a LOW denial of service vulnerability (General Security Weakness) affecting S2n quic libraries in the crates.io ecosystem. The issue involves s2n-quic potential denial of service via crafted stream frames. Remediation is available by upgrading affected packages to version 1.31.0.

GHSA-475v-pq2g-fp9g at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-475v-pq2g-fp9g
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product S2n quic
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix GHSA-475v-pq2g-fp9g

To remediate this vulnerability, upgrade all affected S2n quic dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

s2n-quic fixed: 1.31.0
Upgrade s2n-quic to 1.31.0
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 s2n-quic

How to Check if You Are Affected

To determine whether your application is affected by GHSA-475v-pq2g-fp9g, inspect your project dependencies for S2n quic:

inspect dependencies for s2n-quic

Analyze the terminal output to locate any version of S2n quic in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.31.0), 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 General Security Weakness. In S2n quic, 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

### Impact An issue in s2n-quic could result in unnecessary resource utilization when peers open streams beyond advertised limits. Impacted versions: <= v1.30.0. ### Patches The patch is included in v1.31.0 [1]. ### Workarounds There is no workaround. Applications using s2n-quic should upgrade to the most recent release of s2n-quic. If you have any questions or comments about this advisory, we ask that you contact AWS Security via our vulnerability reporting page [2] or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue. [1] https://github.com/aws/s2n-quic/releases/tag/v1.31.0 [2] https://aws.amazon.com/security/vulnerability-reporting

GHSA-475v-pq2g-fp9g Affected S2n quic Versions

1 component(s)
Fixed Versions:
1.31.0
Product / Package Ecosystem Affected Versions Fixed Version
s2n-quic
crates.io
< 1.31.0
1.31.0

References

Frequently Asked Questions

What is GHSA-475v-pq2g-fp9g?
GHSA-475v-pq2g-fp9g is a security vulnerability in S2n quic involving s2n-quic potential denial of service via crafted stream frames under General Security Weakness.
Which S2n quic versions are affected?
Affected versions include releases prior to 1.31.0 across affected packages: s2n-quic.
What version fixes GHSA-475v-pq2g-fp9g?
Upgrading to 1.31.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is s2n-quic affected?
Yes, s2n-quic is affected in releases prior to 1.31.0. Upgrade your dependency to 1.31.0 or later.
What CWE is associated with GHSA-475v-pq2g-fp9g?
GHSA-475v-pq2g-fp9g is classified under General Security Weakness.
How can I check crates.io dependencies for GHSA-475v-pq2g-fp9g?
Run the dependency tree command: 'inspect dependencies for s2n-quic'. 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-475v-pq2g-fp9g",
  "modified" : "2023-11-08T15:03:09Z",
  "published" : "2023-11-08T15:03:09Z",
  "aliases" : [ ],
  "summary" : "s2n-quic potential denial of service via crafted stream frames",
  "details" : "### Impact\nAn issue in s2n-quic could result in unnecessary resource utilization when peers open streams beyond advertised limits.\n\nImpacted versions: <= v1.30.0.\n\n### Patches\nThe patch is included in v1.31.0 [1].\n\n### Workarounds\nThere is no workaround. Applications using s2n-quic should upgrade to the most recent release of s2n-quic.\n\nIf you have any questions or comments about this advisory, we ask that you contact AWS Security via our vulnerability reporting page [2] or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.\n\n[1] https://github.com/aws/s2n-quic/releases/tag/v1.31.0\n[2] https://aws.amazon.com/security/vulnerability-reporting\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "s2n-quic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.31.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.30.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/aws/s2n-quic/security/advisories/GHSA-475v-pq2g-fp9g"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aws/s2n-quic/commit/73e66b066de4940d129dbf33d91c39170eb4c38d"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/aws/s2n-quic"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aws/s2n-quic/releases/tag/v1.31.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-11-08T15:03:09Z",
    "nvd_published_at" : null
  }
}