{
  "threat_severity" : "Moderate",
  "public_date" : "2016-06-09T00:00:00Z",
  "bugzilla" : {
    "description" : "wget: Lack of filename checking allows arbitrary file upload via FTP redirect",
    "id" : "1343666",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1343666"
  },
  "cvss" : {
    "cvss_base_score" : "6.8",
    "cvss_scoring_vector" : "AV:N/AC:M/Au:N/C:P/I:P/A:P",
    "status" : "verified"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.0",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-73",
  "details" : [ "GNU wget before 1.18 allows remote servers to write to arbitrary files by redirecting a request from HTTP to a crafted FTP resource.", "It was found that wget used a file name provided by the server for the downloaded file when following a HTTP redirect to a FTP server resource. This could cause wget to create a file with a different name than expected, possibly allowing the server to execute arbitrary code on the client." ],
  "acknowledgement" : "Red Hat would like to thank GNU wget project for reporting this issue. Upstream acknowledges Dawid Golunski as the original reporter.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2016-11-03T00:00:00Z",
    "advisory" : "RHSA-2016:2587",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "wget-0:1.14-13.el7"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Will not fix",
    "package_name" : "wget",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Will not fix",
    "package_name" : "wget",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2016-4971\nhttps://nvd.nist.gov/vuln/detail/CVE-2016-4971" ],
  "name" : "CVE-2016-4971",
  "mitigation" : {
    "value" : "Use wget with \"-O\" option to explicitly specify the output filename.",
    "lang" : "en:us"
  },
  "csaw" : false
}