Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS0zbXdxLWgzZzYtZmZobc4AA2Qq
Vapor's incorrect request error handling triggers server crash
Vapor incorrectly handles errors encountered during parsing of HTTP 1.x requests, triggering a precondition failure in swift-nio due to API misuse and causing immediate termination of the server process.
Impact
This is a denial of service vulnerability, impacting all users of affected versions of Vapor. Because the crash is an explicit assertion failure, there is no corruption of process state and no risk of data leakage or unauthorized code execution. Total impact is limited to an immediately recoverable service interruption.
Patches
The issue is fixed as of Vapor release 4.84.2.
Workarounds
None known at this time.
For more information
If you have any questions or comments about this advisory:
- Open an issue in the Vapor repo
- Ask in Vapor Discord
Acknowledgements
Full credit for reporting this issue goes to @t0rchwo0d, with additional thanks for responsibly disclosing.
Permalink: https://github.com/advisories/GHSA-3mwq-h3g6-ffhmJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zbXdxLWgzZzYtZmZobc4AA2Qq
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 7 months ago
Updated: 3 months ago
CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Identifiers: GHSA-3mwq-h3g6-ffhm, CVE-2023-44386
References:
- https://github.com/vapor/vapor/security/advisories/GHSA-3mwq-h3g6-ffhm
- https://nvd.nist.gov/vuln/detail/CVE-2023-44386
- https://github.com/vapor/vapor/commit/090464a654b03148b139a81f8f5ac63b0856f6f3
- https://github.com/vapor/vapor/releases/tag/4.84.2
- https://github.com/advisories/GHSA-3mwq-h3g6-ffhm
Blast Radius: 15.4
Affected Packages
swift:github.com/vapor/vapor
Dependent packages: 105Dependent repositories: 796
Downloads:
Affected Version Ranges: >= 4.83.2, < 4.84.2
Fixed in: 4.84.2
All affected versions: 4.83.2, 4.84.0, 4.84.1
All unaffected versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.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5, 4.68.0, 4.69.0, 4.69.1, 4.69.2, 4.70.0, 4.71.0, 4.71.1, 4.72.0, 4.72.1, 4.73.0, 4.74.0, 4.74.1, 4.74.2, 4.75.0, 4.75.1, 4.75.2, 4.76.0, 4.76.1, 4.76.2, 4.76.3, 4.76.4, 4.77.0, 4.77.1, 4.77.2, 4.78.0, 4.78.1, 4.78.2, 4.79.0, 4.80.0, 4.81.0, 4.81.1, 4.82.0, 4.83.0, 4.83.1, 4.84.2, 4.84.3, 4.84.4, 4.84.5, 4.84.6, 4.85.0, 4.85.1, 4.86.0, 4.86.1, 4.86.2, 4.87.0, 4.87.1, 4.88.0, 4.89.0, 4.89.1, 4.89.2, 4.89.3, 4.90.0, 4.91.0, 4.91.1, 4.92.0, 4.92.1, 4.92.2, 4.92.3, 4.92.4, 4.92.5, 4.92.6, 4.92.7, 4.92.8, 4.92.9, 4.93.0, 4.93.1, 4.93.2, 4.94.0, 4.94.1