{
  "schema_version": "1.7.0",
  "id": "MGASA-2018-0196",
  "published": "2018-04-06T22:54:47Z",
  "modified": "2018-04-06T22:39:35Z",
  "summary": "Updated nmap packages fix security vulnerability",
  "details": "Nmap developer nnposter found a security flaw (directory traversal\nvulnerability) in the way the non-default http-fetch script sanitized\nURLs. If a user manualy ran this NSE script against a malicious web\nserver, the server could potentially (depending on NSE arguments used)\ncause files to be saved outside the intended destination directory.\nExisting files couldn't be overwritten.  We fixed http-fetch, audited\nour other scripts to ensure they didn't make this mistake, and updated\nthe httpspider library API to protect against this by default.\n",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://advisories.mageia.org/MGASA-2018-0196.html"
    },
    {
      "type": "REPORT",
      "url": "https://bugs.mageia.org/show_bug.cgi?id=22854"
    },
    {
      "type": "WEB",
      "url": "http://seclists.org/nmap-announce/2018/0"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Mageia:6",
        "name": "nmap",
        "purl": "pkg:rpm/mageia/nmap?arch=source&distro=mageia-6"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.40-1.1.mga6"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "section": "core"
      }
    }
  ],
  "credits": [
    {
      "name": "Mageia",
      "type": "COORDINATOR",
      "contact": [
        "https://wiki.mageia.org/en/Packages_Security_Team"
      ]
    }
  ]
}
