GHSA-6gww-qpm6-mc2g
Server-Side Request Forgery in ssrf-agent
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | ssrf-agent | < 1.0.5 | 1.0.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2021-23718
- https://github.com/welefen/ssrf-agent/commit/9607175acd0647d821bae4e8fcc3b712aca3fd2d#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154…
- https://github.com/welefen/ssrf-agent
- 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