GHSA-vj2m-9f5j-mpr5

    Dashboard / Vulnerabilities / GHSA-vj2m-9f5j-mpr5

    GHSA-vj2m-9f5j-mpr5

    Published: 7 Jun 2023Last Modified: 8 Nov 2023

    Summary: Vapor vulnerable to denial of service in HTTP Range Request of FileMiddleware

    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. 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 packages

    Package

    Name: github.com/vapor/vapor

    Purl: pkg:swift/github.com/vapor/vapor

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -4.60.3

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-vj2m-9f5j-mpr5 | CVE-DB