Description
The package ssrf-agent before 1.0.5 are vulnerable to Server-side Request Forgery (SSRF) via the defaultIpChecker function. It fails to properly validate if the IP requested is private.
Remediation
References
https://github.com/welefen/ssrf-agent/blob/cec2b85fe8886ad6926a247a3e059d8369ec022b/index.js%23L13
https://security.netapp.com/advisory/ntap-20211203-0005/
https://snyk.io/vuln/SNYK-JS-SSRFAGENT-1584362
Related Vulnerabilities
CVE-2018-25083 Vulnerability in npm package pullit
CVE-2019-15658 Vulnerability in npm package connect-pg-simple
CVE-2017-16187 Vulnerability in npm package open-device
CVE-2020-7684 Vulnerability in npm package rollup-plugin-serve-favicon
CVE-2019-13173 Vulnerability in maven package org.webjars.npm:fstream