CVE-2021-29418

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-29418
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-29418.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-29418
Aliases
Published
2021-03-30T07:15:13Z
Modified
2025-01-08T10:35:11.240860Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/rs/node-netmask

Affected ranges

Type
GIT
Repo
https://github.com/rs/node-netmask
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*

0.0.0
0.0.1
0.0.2

1.*

1.0.5
1.0.6
1.1.0

2.*

2.0.0