You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/draft2019-09/optional/format/ipv4.json
+11
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,17 @@
32
32
"description": "an IP address as an integer (decimal)",
33
33
"data": "2130706433",
34
34
"valid": false
35
+
},
36
+
{
37
+
"description": "leading zeroes should be rejected, as they are treated as octals",
38
+
"comment": "see https://sick.codes/universal-netmask-npm-package-used-by-270000-projects-vulnerable-to-octal-input-data-server-side-request-forgery-remote-file-inclusion-local-file-inclusion-and-more-cve-2021-28918/",
39
+
"data": "087.10.0.1",
40
+
"valid": false
41
+
},
42
+
{
43
+
"description": "value without leading zero is valid",
Copy file name to clipboardExpand all lines: tests/draft2020-12/optional/format/ipv4.json
+11
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,17 @@
32
32
"description": "an IP address as an integer (decimal)",
33
33
"data": "2130706433",
34
34
"valid": false
35
+
},
36
+
{
37
+
"description": "leading zeroes should be rejected, as they are treated as octals",
38
+
"comment": "see https://sick.codes/universal-netmask-npm-package-used-by-270000-projects-vulnerable-to-octal-input-data-server-side-request-forgery-remote-file-inclusion-local-file-inclusion-and-more-cve-2021-28918/",
39
+
"data": "087.10.0.1",
40
+
"valid": false
41
+
},
42
+
{
43
+
"description": "value without leading zero is valid",
Copy file name to clipboardExpand all lines: tests/draft4/optional/format/ipv4.json
+11
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,17 @@
32
32
"description": "an IP address as an integer (decimal)",
33
33
"data": "2130706433",
34
34
"valid": false
35
+
},
36
+
{
37
+
"description": "leading zeroes should be rejected, as they are treated as octals",
38
+
"comment": "see https://sick.codes/universal-netmask-npm-package-used-by-270000-projects-vulnerable-to-octal-input-data-server-side-request-forgery-remote-file-inclusion-local-file-inclusion-and-more-cve-2021-28918/",
39
+
"data": "087.10.0.1",
40
+
"valid": false
41
+
},
42
+
{
43
+
"description": "value without leading zero is valid",
Copy file name to clipboardExpand all lines: tests/draft6/optional/format/ipv4.json
+11
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,17 @@
32
32
"description": "an IP address as an integer (decimal)",
33
33
"data": "2130706433",
34
34
"valid": false
35
+
},
36
+
{
37
+
"description": "leading zeroes should be rejected, as they are treated as octals",
38
+
"comment": "see https://sick.codes/universal-netmask-npm-package-used-by-270000-projects-vulnerable-to-octal-input-data-server-side-request-forgery-remote-file-inclusion-local-file-inclusion-and-more-cve-2021-28918/",
39
+
"data": "087.10.0.1",
40
+
"valid": false
41
+
},
42
+
{
43
+
"description": "value without leading zero is valid",
Copy file name to clipboardExpand all lines: tests/draft7/optional/format/ipv4.json
+11
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,17 @@
32
32
"description": "an IP address as an integer (decimal)",
33
33
"data": "2130706433",
34
34
"valid": false
35
+
},
36
+
{
37
+
"description": "leading zeroes should be rejected, as they are treated as octals",
38
+
"comment": "see https://sick.codes/universal-netmask-npm-package-used-by-270000-projects-vulnerable-to-octal-input-data-server-side-request-forgery-remote-file-inclusion-local-file-inclusion-and-more-cve-2021-28918/",
39
+
"data": "087.10.0.1",
40
+
"valid": false
41
+
},
42
+
{
43
+
"description": "value without leading zero is valid",
0 commit comments