The isPublic() function in the NPM package ip doesn't correctly identify certain private IP addresses in uncommon formats such as 0x7F.1 as private. Instead, it reports them as public by returning true. This can lead to security issues such as Server-Side Request Forgery (SSRF) if isPublic() is used to protect sensitive code paths when passed user input. Versions 1.1.9 and 2.0.1 fix the issue.
This PR contains the following updates:
^1.1.5
->^2.0.0
GitHub Vulnerability Alerts
CVE-2023-42282
The
isPublic()
function in the NPM packageip
doesn't correctly identify certain private IP addresses in uncommon formats such as0x7F.1
as private. Instead, it reports them as public by returningtrue
. This can lead to security issues such as Server-Side Request Forgery (SSRF) ifisPublic()
is used to protect sensitive code paths when passed user input. Versions 1.1.9 and 2.0.1 fix the issue.Release Notes
indutny/node-ip (ip)
### [`v2.0.1`](https://redirect.github.com/indutny/node-ip/compare/v2.0.0...v2.0.1) [Compare Source](https://redirect.github.com/indutny/node-ip/compare/v2.0.0...v2.0.1) ### [`v2.0.0`](https://redirect.github.com/indutny/node-ip/compare/v1.1.9...v2.0.0) [Compare Source](https://redirect.github.com/indutny/node-ip/compare/v1.1.9...v2.0.0)Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.