-
Notifications
You must be signed in to change notification settings - Fork 99
Closed
Labels
enhancementhelp wantedmediumMedium severityMedium severitysecuritySecurity vulnerabilitySecurity vulnerability
Description
Description
Only 3 private address ranges (RFC 1918) are defined. Many IANA reserved blocks are missing for both IPv4 and IPv6.
Affected File
src/System.Net.IPNetwork/IPNetwork2IANAblock.cs
Missing IPv4 Blocks
0.0.0.0/8— This network127.0.0.0/8— Loopback169.254.0.0/16— Link-local192.0.0.0/24— IETF Protocol Assignments192.0.2.0/24— Documentation (TEST-NET-1)198.18.0.0/15— Benchmarking198.51.100.0/24— Documentation (TEST-NET-2)203.0.113.0/24— Documentation (TEST-NET-3)224.0.0.0/4— Multicast240.0.0.0/4— Reserved255.255.255.255/32— Broadcast
Missing IPv6 Blocks
::/128— Unspecified::1/128— Loopback::ffff:0:0/96— IPv4-mapped64:ff9b::/96— IPv4/IPv6 translation2001::/32— TEREDO2001:db8::/32— Documentationfc00::/7— Unique localfe80::/10— Link-localff00::/8— Multicast
Impact
Applications relying on IsIANAReserved for security filtering (e.g., SSRF protection) will miss many reserved ranges, potentially allowing access to internal/special networks.
Severity
MEDIUM
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementhelp wantedmediumMedium severityMedium severitysecuritySecurity vulnerabilitySecurity vulnerability