Vulnerability in Netmask Project

CVE-2021-28918

Improper input validation of octal strings in netmask npm package v1.0.6 and below allows unauthenticated remote attackers to perform indeterminate SSRF, RFI, and LFI attacks on many of the dependent packages. A remote unauthenticated attacker can bypass packages relying on netmask to filter IPs and reach critical VPN or LAN hosts.

EPSS: 0.167 (96.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-28918?
CVE-2021-28918 is a critical-severity vulnerability in Netmask Project, classified under Incorrect Type Conversion or Cast. CVSS score: 9.1/10. Published 2021-04-01.
How severe is CVE-2021-28918?
Critical severity. CVSS v3 base score is 9.1 out of 10.
Is CVE-2021-28918 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.