medium6.5
CVE-2021-23718
Server-Side Request Forgery in ssrf-agent
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | ssrf-agent | < 1.0.5 | 1.0.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ssrf-Agent Project | Ssrf-Agent | before 1.0.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-6gww-qpm6-mc2g
- https://nvd.nist.gov/vuln/detail/CVE-2021-23718
- https://github.com/welefen/ssrf-agent/commit/9607175acd0647d821bae4e8fcc3b712aca3fd2d#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346