{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.3.5"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3d60e15dd8381a2d3d708d4f93faa3de07adb979"
            },
            {
              "fixed": "27556a9a43aeaf308b33be224c2e70f2011574e6"
            },
            {
              "fixed": "9a1fccd37f2842fdf96ffb48895c4bfa9788c469"
            }
          ],
          "repo": "https://github.com/hestiacp/hestiacp",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An issue was discovered in HestiaCP before v1.3.5. Attackers are able to arbitrarily install packages due to values taken from the pgk [] parameter in the update request being transmitted to the operating system's package manager.",
  "id": "CVE-2021-30070",
  "modified": "2026-03-15T21:50:39.050618890Z",
  "published": "2022-08-18T05:15:07.167Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/hestiacp/hestiacp/commit/27556a9a43aeaf308b33be224c2e70f2011574e6"
    },
    {
      "type": "FIX",
      "url": "https://github.com/hestiacp/hestiacp/commit/9a1fccd37f2842fdf96ffb48895c4bfa9788c469"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}