GHSA-475v-pq2g-fp9g: S2n quic Denial of Service Vulnerability
LOWGHSA-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
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.
Upgrade s2n-quic to 1.31.0
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
GHSA-475v-pq2g-fp9g Affected S2n quic Versions
1 component(s)| 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?
Which S2n quic versions are affected?
What version fixes GHSA-475v-pq2g-fp9g?
Is s2n-quic affected?
What CWE is associated with GHSA-475v-pq2g-fp9g?
How can I check crates.io dependencies for GHSA-475v-pq2g-fp9g?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}