netmask npm package mishandles octal input data
Moderate severity
GitHub Reviewed
Published
Mar 29, 2021
to the GitHub Advisory Database
•
Updated Sep 8, 2023
Description
Reviewed
Mar 29, 2021
Published to the GitHub Advisory Database
Mar 29, 2021
Published by the National Vulnerability Database
Mar 30, 2021
Last updated
Sep 8, 2023
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