Advisory

GHSA-4cxw-hq44-r344

Also known as: CVE-2021-4070, GO-2022-0550

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-02-24 00:00 UTC
Modified
2024-08-21 15:27 UTC

Affected packages and fixes

github.com/v2fly/v2ray-core/v4

Go · All systems

Affected

  • introduced 0, fixed 4.44.0 (semver)

Fixed versions

4.44.0

Fix

github.com/v2fly/v2ray-core

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences