macaddress@0.4.2 vulnerabilities

Get the MAC addresses (hardware addresses) of the hosts network interfaces.

  • latest version

    0.5.3

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    2 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the macaddress package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Arbitrary File Read

    macaddress is a library that gets the MAC addresses (hardware addresses) of the hosts network interfaces.

    Affected versions of this package are vulnerable to Arbitrary File Read. By prepending ../../.. to the "interface" name, this line of code can be asked read a file from anywhere on the filesystem as long as that file is named address.

    Note: This is relevant only for Linux OS implementation.

    How to fix Arbitrary File Read?

    Upgrade macaddress to version 0.4.3 or higher.

    <0.4.3