GHSA-rfhg-rjfp-9q8q: S2n quic Denial of Service Vulnerability

LOW
Published
Advisory Summary

GHSA-rfhg-rjfp-9q8q is a LOW denial of service vulnerability (General Security Weakness) affecting S2n quic libraries in the crates.io ecosystem. The issue involves potential denial of service after connection migration. Remediation is available by upgrading affected packages to version 1.25.0.

GHSA-rfhg-rjfp-9q8q at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-rfhg-rjfp-9q8q
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-rfhg-rjfp-9q8q

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.25.0
Upgrade s2n-quic to 1.25.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-rfhg-rjfp-9q8q, 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.25.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 results in the endpoint shutting down due to a combination of peer-initiated connection migration and duplicate new connection ID frames being received. No AWS services are affected by this issue, and customers of AWS services do not need to take action. Impacted versions: <=v1.24.0 ### Patches The patch is included in v1.25.0. ### Workarounds There is no workaround. Applications using s2n-quic should upgrade their application to the most recent release of s2n-quic. If you have any questions or comments about this advisory we ask that you contact AWS/Amazon Security via our vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.

GHSA-rfhg-rjfp-9q8q Affected S2n quic Versions

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

References

Frequently Asked Questions

What is GHSA-rfhg-rjfp-9q8q?
GHSA-rfhg-rjfp-9q8q is a security vulnerability in S2n quic involving Potential denial of service after connection migration under General Security Weakness.
Which S2n quic versions are affected?
Affected versions include releases prior to 1.25.0 across affected packages: s2n-quic.
What version fixes GHSA-rfhg-rjfp-9q8q?
Upgrading to 1.25.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.25.0. Upgrade your dependency to 1.25.0 or later.
What CWE is associated with GHSA-rfhg-rjfp-9q8q?
GHSA-rfhg-rjfp-9q8q is classified under General Security Weakness.
How can I check crates.io dependencies for GHSA-rfhg-rjfp-9q8q?
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-rfhg-rjfp-9q8q",
  "modified" : "2023-07-24T22:43:05Z",
  "published" : "2023-07-24T22:43:05Z",
  "aliases" : [ ],
  "summary" : "Potential denial of service after connection migration",
  "details" : "### Impact\nAn issue in s2n-quic results in the endpoint shutting down due to a combination of peer-initiated connection migration and duplicate new connection ID frames being received. No AWS services are affected by this issue, and customers of AWS services do not need to take action.\n\nImpacted versions: <=v1.24.0\n### Patches\nThe patch is included in v1.25.0.\n\n### Workarounds\nThere is no workaround. Applications using s2n-quic should upgrade their application 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/Amazon Security via our vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "s2n-quic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.25.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.24.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/aws/s2n-quic/security/advisories/GHSA-rfhg-rjfp-9q8q"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aws/s2n-quic/commit/73a814240c5db6fae261a6e4ab567b0b094a35db"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/aws/s2n-quic"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-24T22:43:05Z",
    "nvd_published_at" : null
  }
}