{ "CVE_data_meta" : { "ASSIGNER" : "support@hackerone.com", "DATE_PUBLIC" : "2017-11-05T00:00:00", "ID" : "CVE-2017-0904", "STATE" : "PUBLIC" }, "affects" : { "vendor" : { "vendor_data" : [ { "product" : { "product_data" : [ { "product_name" : "private_address_check ruby gem", "version" : { "version_data" : [ { "version_value" : "Versions before 0.4.0" } ] } } ] }, "vendor_name" : "jtdowney" } ] } }, "data_format" : "MITRE", "data_type" : "CVE", "data_version" : "4.0", "description" : { "description_data" : [ { "lang" : "eng", "value" : "The private_address_check ruby gem before 0.4.0 is vulnerable to a bypass due to use of Ruby's Resolv.getaddresses method, which is OS-dependent and should not be relied upon for security measures, such as when used to blacklist private network addresses to prevent server-side request forgery." } ] }, "problemtype" : { "problemtype_data" : [ { "description" : [ { "lang" : "eng", "value" : "Use of Inherently Dangerous Function (CWE-242)" } ] } ] }, "references" : { "reference_data" : [ { "name" : "https://edoverflow.com/2017/ruby-resolv-bug/", "refsource" : "MISC", "url" : "https://edoverflow.com/2017/ruby-resolv-bug/" }, { "name" : "https://hackerone.com/reports/287245", "refsource" : "MISC", "url" : "https://hackerone.com/reports/287245" }, { "name" : "https://hackerone.com/reports/287835", "refsource" : "MISC", "url" : "https://hackerone.com/reports/287835" }, { "name" : "https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af", "refsource" : "CONFIRM", "url" : "https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af" }, { "name" : "https://github.com/jtdowney/private_address_check/issues/1", "refsource" : "CONFIRM", "url" : "https://github.com/jtdowney/private_address_check/issues/1" } ] } }