CVE-2021-29418
netmask npm package mishandles octal input data
5.3
MEDIUM
CVSS 3.1
EPSS 0.02%
Description
The netmask package before 2.0.1 for Node.js mishandles certain unexpected characters in an IP address string, such as an octal digit of 9. This (in some situations) allows attackers to bypass access control that is based on IP addresses. NOTE: this issue exists because of an incomplete fix for CVE-2021-28918.
How to fix CVE-2021-29418
To remediate CVE-2021-29418, upgrade the affected package to a fixed version below.
- —upgrade to 2.0.1 or later
Is CVE-2021-29418 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 2.0.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |