An issue in all published versions of the NPM package ip allows an attacker to execute arbitrary code and obtain sensitive information via the isPublic() function. This can lead to potential Server-Side Request Forgery (SSRF) attacks. The core issue is the function's failure to accurately distinguish between public and private IP addresses.
⚠️ `dependabot-gitlab` has detected security vulnerability for `ip` in path: `/`, manifest_file: `/package.json` but was unable to update it! ⚠️
* https://github.com/advisories/GHSA-78xj-cgh5-2h22
| Package | Severity | Affected versions | Patched versions | IDs |
|----------|----------|-------------------|------------------|----------------------------------------|
| ip (NPM) | HIGH | <= 2.0.0 | | `GHSA-78xj-cgh5-2h22`,`CVE-2023-42282` |
# Description
An issue in all published versions of the NPM package `ip` allows an attacker to execute arbitrary code and obtain sensitive information via the `isPublic()` function. This can lead to potential Server-Side Request Forgery (SSRF) attacks. The core issue is the function's failure to accurately distinguish between public and private IP addresses.
# References
* https://nvd.nist.gov/vuln/detail/CVE-2023-42282
* https://cosmosofcyberspace.github.io/npm_ip_cve/npm_ip_cve.html
* https://github.com/JoshGlazebrook/socks/issues/93#issue-2128357447
* https://github.com/github/advisory-database/pull/3504#issuecomment-1937179999
* https://github.com/advisories/GHSA-78xj-cgh5-2h22
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
⚠️
dependabot-gitlabhas detected security vulnerability foripin path:/, manifest_file:/package.jsonbut was unable to update it! ⚠️GHSA-78xj-cgh5-2h22,CVE-2023-42282Description
An issue in all published versions of the NPM package
ipallows an attacker to execute arbitrary code and obtain sensitive information via theisPublic()function. This can lead to potential Server-Side Request Forgery (SSRF) attacks. The core issue is the function's failure to accurately distinguish between public and private IP addresses.References