GHSA-4cxw-hq44-r344

    Dashboard / Vulnerabilities / GHSA-4cxw-hq44-r344

    GHSA-4cxw-hq44-r344

    Published: 24 Feb 2022Last Modified: 21 Aug 2024

    Summary: Off-by-one Error in v2fly/v2ray-core

    Details: v2fly/v2ray-core prior to 4.44.0 is vulnerable to an off-by-one error. Indexing operations on arrays, slices, or strings should use an index at most one less than the length. If the index is checked for being less than or equal to the length (`<=`), instead of less than the length (`<`), the index could be out of bounds.

    Affected packages

    Package

    Name: github.com/v2fly/v2ray-core/v4

    Purl: pkg:golang/github.com/v2fly/v2ray-core/v4

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -4.44.0

    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-4cxw-hq44-r344 | CVE-DB