Security Advisories (1)
CVE-2022-24785 (2022-04-04)

Moment.js is a JavaScript date library for parsing, validating, manipulating, and formatting dates. A path traversal vulnerability impacts npm (server) users of Moment.js between versions 1.0.1 and 2.29.1, especially if a user-provided locale string is directly used to switch moment locale. This problem is patched in 2.29.2, and the patch can be applied to all affected versions. As a workaround, sanitize the user-provided locale name before passing it to Moment.js.

NAME

App::Netdisco::SSHCollector::Platform::CPVSX

DESCRIPTION

Collect ARP entries from Check Point VSX

This collector uses "arp" as the command for the arp utility on your system. Clish "show arp" dows not work correctly in versions prior to R77.30. Config example:

sshcollector:
  - ip: '192.0.2.1'
    user: oliver
    password: letmein
    expert_password: letmein2
    platform: CPVSX

PUBLIC METHODS

arpnip($host, $ssh)

Retrieve ARP entries from device. $host is the hostname or IP address of the device. $ssh is a Net::OpenSSH connection to the device.

Returns a list of hashrefs in the format { mac => MACADDR, ip => IPADDR }.