{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2022-05-08"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2022-05-08"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "241d92a4d68f524365a6322b5bbcfaa7d9abc8a3"
            }
          ],
          "repo": "https://github.com/idayrus/evoting",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "241d92a4d68f524365a6322b5bbcfaa7d9abc8a3"
            }
          ],
          "repo": "https://github.com/idayrus/evoting",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The idayrus/evoting repository before 2022-05-08 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.",
  "id": "CVE-2022-31508",
  "modified": "2026-03-13T21:52:22.437224285Z",
  "published": "2022-07-11T01:15:08.333Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/github/securitylab/issues/669#issuecomment-1117265726"
    },
    {
      "type": "FIX",
      "url": "https://github.com/idayrus/evoting/commit/241d92a4d68f524365a6322b5bbcfaa7d9abc8a3"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L",
      "type": "CVSS_V3"
    }
  ]
}