| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0deed8d commit 326d19a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -162,11 +162,10 @@ static std::string TrimPort(const std::string& host) { | |||
| 162 | 162 | } | |
| 163 | 163 | ||
| 164 | 164 | static bool IsIPAddress(const std::string& host) { | |
| 165 | - // TODO(tniessen): add CVEs to the following bullet points | ||
| 166 | 165 | // To avoid DNS rebinding attacks, we are aware of the following requirements: | |
| 167 | - // * the host name must be an IP address, | ||
| 168 | - // * the IP address must be routable, and | ||
| 169 | - // * the IP address must be formatted unambiguously. | ||
| 166 | + // * the host name must be an IP address (CVE-2018-7160, CVE-2022-32212), | ||
| 167 | + // * the IP address must be routable (hackerone.com/reports/1632921), and | ||
| 168 | + // * the IP address must be formatted unambiguously (CVE-2022-43548). | ||
| 170 | 169 | ||
| 171 | 170 | // The logic below assumes that the string is null-terminated, so ensure that | |
| 172 | 171 | // we did not somehow end up with null characters within the string. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments