GHSA-4cxw-hq44-r344CriticalCVSS 9.1

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

Published
February 24, 2022
Last Modified
February 3, 2023

🔗 CVE IDs covered (1)

📋 Description

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 products2

  • go/github.com/v2fly/v2ray-core/v4:< 4.44.0
  • go/github.com/v2fly/v2ray-core:< 4.44.0

🔗 References (4)