Vulnerability library
Security checkFebruary 01, 2023

Improper parsing of octal bytes in netmask

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmnetmask

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the netmask package to the latest compatible version. Followings are version details:

  • Affected version(s): < 1.1.0
  • Patched version(s): 1.1.0

References

Could your website be exposed too?

SmartScanner can check your website for Improper parsing of octal bytes in netmask and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 01, 2023