ghsa-vj2m-9f5j-mpr5
Vulnerability from github
Published
2023-06-07 16:26
Modified
2023-06-07 16:26
Severity ?
VLAI Severity ?
Summary
Vapor vulnerable to denial of service in HTTP Range Request of FileMiddleware
Details
Vapor is an HTTP web framework for Swift and middleware is a logic chain between the client and a Vapor route handler. FileMiddleware enables the serving of assets from the Public folder of a project to the client.
Vapor before 4.60.3 is vulnerable to denial of service due to an integer overflow when given invalid range headers while using FileMiddleware. This is patched in 4.60.3.
{ "affected": [ { "package": { "ecosystem": "SwiftURL", "name": "github.com/vapor/vapor" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "4.60.3" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-31005" ], "database_specific": { "cwe_ids": [ "CWE-190" ], "github_reviewed": true, "github_reviewed_at": "2023-06-07T16:26:25Z", "nvd_published_at": "2022-05-31T20:15:00Z", "severity": "HIGH" }, "details": "Vapor is an HTTP web framework for Swift and [middleware](https://docs.vapor.codes/advanced/middleware/) is a logic chain between the client and a Vapor route handler. [FileMiddleware](https://docs.vapor.codes/advanced/middleware/#file-middleware) enables the serving of assets from the Public folder of a project to the client. \n\nVapor before 4.60.3 is vulnerable to denial of service due to an integer overflow when given invalid range headers while using FileMiddleware. This is patched in 4.60.3.", "id": "GHSA-vj2m-9f5j-mpr5", "modified": "2023-06-07T16:26:25Z", "published": "2023-06-07T16:26:25Z", "references": [ { "type": "WEB", "url": "https://github.com/vapor/vapor/security/advisories/GHSA-vj2m-9f5j-mpr5" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31005" }, { "type": "WEB", "url": "https://github.com/vapor/vapor/commit/953a349b539b3e0d3653585c8ffb50c427986df1" }, { "type": "PACKAGE", "url": "https://github.com/vapor/vapor" }, { "type": "WEB", "url": "https://github.com/vapor/vapor/releases/tag/4.60.3" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "type": "CVSS_V3" } ], "summary": "Vapor vulnerable to denial of service in HTTP Range Request of FileMiddleware" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…