{"id":"GO-2022-0550","summary":"Off-by-one Error in v2fly/v2ray-core in github.com/v2fly/v2ray-core","details":"Off-by-one Error in v2fly/v2ray-core in github.com/v2fly/v2ray-core","aliases":["CVE-2021-4070","GHSA-4cxw-hq44-r344"],"modified":"2026-03-17T04:21:01.429930Z","published":"2024-08-21T15:11:36Z","database_specific":{"review_status":"UNREVIEWED","url":"https://pkg.go.dev/vuln/GO-2022-0550"},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4cxw-hq44-r344"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4070"},{"type":"FIX","url":"https://github.com/v2fly/v2ray-core/commit/c1af2bfd7aa59a4482aa7f6ec4b9208c1d350b5c"},{"type":"WEB","url":"https://huntr.dev/bounties/8da19456-4d89-41ef-9781-a41efd6a1877"}],"affected":[{"package":{"name":"github.com/v2fly/v2ray-core","ecosystem":"Go","purl":"pkg:golang/github.com/v2fly/v2ray-core"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0550.json"}},{"package":{"name":"github.com/v2fly/v2ray-core/v4","ecosystem":"Go","purl":"pkg:golang/github.com/v2fly/v2ray-core/v4"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.44.0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0550.json"}}],"schema_version":"1.7.5"}