Description
Insufficient RegEx in private-ip npm package v1.0.5 and below insufficiently filters reserved IP ranges resulting in indeterminate SSRF.
Recommendation
Update the private-ip package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.0.0
- Patched version(s): 2.0.0
References
- GHSA-43ch-2h55-2vj7
- johnjhacking.com
- www.npmjs.com
- CVE-2020-28360
- CWE-918
- CAPEC-310
- OWASP 2021-A10
- OWASP 2021-A6
Related Issues
- private-ip vulnerable to Server-Side Request Forgery - CVE-2025-8020
- Axios vulnerable to Server-Side Request Forgery - CVE-2020-28168
- Server-Side Request Forgery in @uppy/companion - @uppy/companion - CVE-2020-8135
- Server-Side Request Forgery in @uppy/companion - CVE-2020-8205
You might also like:
- Tags:
- npm
- private-ip
Anything's wrong? Let us know Last updated on February 01, 2023


