cve.bz

CVE-2021-4070 v2fly v2ray-core: Off-by-one Error

9.1 criticalExploit referenceEPSS 0.9%Fix available

Critical (9.1) in v2fly v2ray-core. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/v2fly/v2ray-core/v4 4.44.0.

On this page
Off-by-one Error in GitHub repository v2fly/v2ray-core prior to 4.44.0.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 56th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-193 Off-by-one Error
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-4070 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4070?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4070?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-4070 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
v2fly/v2ray-corebefore 4.44.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4cxw-hq44-r344Gogithub.com/v2fly/v2ray-core/v4<4.44.04.44.0
GHSA-4cxw-hq44-r344Gogithub.com/v2fly/v2ray-coreall versionsno fix published
GO-2022-0550Gogithub.com/v2fly/v2ray-coreall versionsno fix published
GO-2022-0550Gogithub.com/v2fly/v2ray-core/v4<4.44.04.44.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-v2ray-core4.34.0-7DEBIAN-CVE-2021-4070
Ubuntu22.04:LTSgolang-v2ray-coreno fix listedUBUNTU-CVE-2021-4070

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

References

Check your stackJSON