Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-28918: Improper input validation of octal strings in netmask npm package v1.0.6 and below allows unauthenticated remo

66
This week
CRITICAL 9.1REMOTEUPGRADE

CVE-2021-28918 is a critical-severity flaw (CVSS 9.1) affecting netmask. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • EPSS top 3%: very likely to be exploited
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.1 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance15.0% (top 3%)
CISA exploited listNo
WeaknessCWE-704
Published2021-04-01
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: netmask project

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

netmask project netmask UPGRADE
Affected: <= 1.0.6
Fixed in: newer than 1.0.6
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls netmask
2. UPGRADE to newer than 1.0.6
npm install netmask@">1.0.6"

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-28918?

netmask: upgrade to newer than 1.0.6. Exact commands for each OS are on this page.

Is CVE-2021-28918 being exploited?

CVE-2021-28918 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2021-28918 affect?

CVE-2021-28918 affects netmask. Severity is critical (CVSS 9.1). 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 attac

How urgent is CVE-2021-28918?

Priority 66/100. Critical severity; EPSS top 3%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action

Software pages

npm packages vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.