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:
2.0.0
->2.0.1
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://togithub.com/indutny/node-ip/compare/v2.0.0...v2.0.1) [Compare Source](https://togithub.com/indutny/node-ip/compare/v2.0.0...v2.0.1)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 has been generated by Mend Renovate. View repository job log here.