Vulnerability · Published Feb 23, 2022 · Assigned by @huntrdev
CVE-2021-4070Off-by-one Error in v2fly/v2ray-core
Medium 5.9
In plain English
A medium-severity security flaw in v2fly/v2ray-core from v2fly. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)5.9Medium
Exploit odds (30 days)0.9%top 41.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Off-by-one Error in GitHub repository v2fly/v2ray-core prior to 4.44.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-v2ray-core | 4.34.0-7 | DEBIAN-CVE-2021-4070 |
| Debian:13 | golang-v2ray-core | 4.34.0-7 | DEBIAN-CVE-2021-4070 |
| Debian:14 | golang-v2ray-core | 4.34.0-7 | DEBIAN-CVE-2021-4070 |
| Go | github.com/v2fly/v2ray-core | no fix listed | GO-2022-0550 |
| Go | github.com/v2fly/v2ray-core | no fix listed | GHSA-4cxw-hq44-r344 |
| Go | github.com/v2fly/v2ray-core/v4 | 4.44.0 | GHSA-4cxw-hq44-r344 |
| Go | github.com/v2fly/v2ray-core/v4 | 4.44.0 | GO-2022-0550 |
| Ubuntu:22.04:LTS | golang-v2ray-core | no fix listed | UBUNTU-CVE-2021-4070 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| v2fly | v2fly/v2ray-core | unspecified – before 4.44.0 |
Weakness: CWE-193 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
References
- https://huntr.dev/bounties/8da19456-4d89-41ef-9781-a41efd6a1877 x_refsource_CONFIRM
- https://github.com/v2fly/v2ray-core/commit/c1af2bfd7aa59a4482aa7f6ec4b9208c1d350b5c x_refsource_MISC