{
  "schema_version": "1.7.0",
  "id": "MGASA-2017-0372",
  "published": "2017-10-18T20:19:34Z",
  "modified": "2017-12-31T18:17:00Z",
  "summary": "Updated openvpn packages fix security vulnerability",
  "details": "The bounds check in read_key() was performed after using the value, instead\nof before. If 'key-method 1' is used, this allowed an attacker to send a\nmalformed packet to trigger a stack buffer overflow. Note that 'key-method 1'\nhas been replaced by 'key method 2' as the default in OpenVPN 2.0\n(CVE-2017-12166).\n",
  "upstream": [
    "CVE-2017-12166"
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://advisories.mageia.org/MGASA-2017-0372.html"
    },
    {
      "type": "REPORT",
      "url": "https://bugs.mageia.org/show_bug.cgi?id=21780"
    },
    {
      "type": "ADVISORY",
      "url": "https://community.openvpn.net/openvpn/wiki/CVE-2017-12166"
    },
    {
      "type": "WEB",
      "url": "https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn23"
    },
    {
      "type": "WEB",
      "url": "https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn24"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Mageia:5",
        "name": "openvpn",
        "purl": "pkg:rpm/mageia/openvpn?arch=source&distro=mageia-5"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.3.18-1.mga5"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "section": "core"
      }
    },
    {
      "package": {
        "ecosystem": "Mageia:6",
        "name": "openvpn",
        "purl": "pkg:rpm/mageia/openvpn?arch=source&distro=mageia-6"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.4.4-1.mga6"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "section": "core"
      }
    }
  ],
  "credits": [
    {
      "name": "Mageia",
      "type": "COORDINATOR",
      "contact": [
        "https://wiki.mageia.org/en/Packages_Security_Team"
      ]
    }
  ]
}
