Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

indutny/node-ip
main @ 3b0994a
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
SSRF: 2 prior fixes. Scrutinize any change in this area.
lib/ip.js: most-fixed (2 issues). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

SSRF: Attackers can bypass 'ip.isPrivate()' and 'ip.isLoopback()' checks by utilizing alternative IP address representations (such as octal or hexadecimal), leading to SSRF against internal resources. Strict normalization of inputs is required prior to applying any validation checks.
SSRF: Incomplete coverage of RFC private subnet masks (e.g., incorrect matching logic for the 172.16.0.0/12 range) allowed private IP addresses to be misclassified as public, permitting unauthorized access to private network resources.