CVE-2021-29418 netmask npm package mishandles octal input data
MediumCVSS 5.3
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| netmask project netmask | < 2.0.1 | 2.0.1 | Fixed |
| npm netmask(npm) | < 2.0.1 | 2.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm netmask(npm) | < 2.0.1 | 2.0.1 |
| netmask project netmask | < 2.0.1 | 2.0.1 |
References
- github.com patch third-party-advisory
- sick.codes
- sick.codes
- www.npmjs.com
- nvd.nist.gov third-party-advisory vendor-advisory
- vuln.ryotak.me third-party-advisory
- security.netapp.com third-party-advisory
- github.com