welefen/ssrf-agent · Security
Server-Side Request Forgery in ssrf-agent
- GHSA ID
- GHSA-6gww-qpm6-mc2g
- CVE ID
- CVE-2021-23718
- Severity
- medium
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- CVSS v3
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
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.
CWEs
- CWE-918 · Server-Side Request Forgery (SSRF)
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23718 ↗
- https://github.com/welefen/ssrf-agent/blob/cec2b85fe8886ad6926a247a3e059d8369ec022b/index.js%23L13 ↗
- https://snyk.io/vuln/SNYK-JS-SSRFAGENT-1584362 ↗
- https://github.com/welefen/ssrf-agent/commit/9607175acd0647d821bae4e8fcc3b712aca3fd2d#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346 ↗
- https://security.netapp.com/advisory/ntap-20211203-0005/ ↗
- https://github.com/advisories/GHSA-6gww-qpm6-mc2g ↗