GHSA-hxq4-mx37-fqvg: S2n quic Denial of Service Vulnerability
MODERATEGHSA-hxq4-mx37-fqvg is a MODERATE 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 vulnerability when receiving empty udp packets. Remediation is available by upgrading affected packages to version 1.23.0.
GHSA-hxq4-mx37-fqvg at a Glance
How to Fix GHSA-hxq4-mx37-fqvg
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.23.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-hxq4-mx37-fqvg, 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.23.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-hxq4-mx37-fqvg Affected S2n quic Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
s2n-quic
|
crates.io |
≥ 1.22.0
< 1.23.0
All 1 versions
1.22.0
|
1.23.0
|
References
Frequently Asked Questions
What is GHSA-hxq4-mx37-fqvg?
Which S2n quic versions are affected?
What version fixes GHSA-hxq4-mx37-fqvg?
Is s2n-quic affected?
What CWE is associated with GHSA-hxq4-mx37-fqvg?
How can I check crates.io dependencies for GHSA-hxq4-mx37-fqvg?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hxq4-mx37-fqvg",
"modified" : "2023-06-30T22:11:42Z",
"published" : "2023-06-30T22:11:42Z",
"aliases" : [ ],
"summary" : "s2n-quic potential denial of service vulnerability when receiving empty UDP packets",
"details" : "### Impact\n\nAn issue in s2n-quic results in the endpoint shutting down after receiving an empty UDP packet on a connection. \n\nNo AWS services are affected by this issue and customers of AWS services do not need to take action. Applications using s2n-quic should upgrade their application to the most recent release of s2n-quic.\n\nImpacted version: s2n-quic v1.22.0.\n\n### Patches\n\nThe patch is included in s2n-quic [v1.23.0](https://github.com/aws/s2n-quic/releases/tag/v1.23.0).\n\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.\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "s2n-quic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.22.0"
}, {
"fixed" : "1.23.0"
} ]
} ],
"versions" : [ "1.22.0" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/aws/s2n-quic/security/advisories/GHSA-hxq4-mx37-fqvg"
}, {
"type" : "WEB",
"url" : "https://github.com/aws/s2n-quic/commit/4b1d417e9de7eafaf5350553c5fcb9264dfa32f5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/aws/s2n-quic"
}, {
"type" : "WEB",
"url" : "https://github.com/aws/s2n-quic/releases/tag/v1.23.0"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-06-30T22:11:42Z",
"nvd_published_at" : null
}
}