{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.1.2"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.1.2"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0181cb0272857696c8eb3e44fcf6cb014ff90f09"
            }
          ],
          "repo": "https://github.com/bijaythapaa/onlinevotingsystem",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0181cb0272857696c8eb3e44fcf6cb014ff90f09"
            }
          ],
          "repo": "https://github.com/bijaythapaa/onlinevotingsystem",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "OnlineVotingSystem is an open source project hosted on GitHub. OnlineVotingSystem before version 1.1.2 hashes user passwords without a salt, which is vulnerable to dictionary attacks. Therefore there is a threat of security breach in the voting system. Without a salt, it is much easier for attackers to pre-compute the hash value using dictionary attack techniques such as rainbow tables to crack passwords. This problem is fixed and published in version 1.1.2. A long randomly generated salt is added to the password hash function to better protect passwords stored in the voting system.",
  "id": "CVE-2021-21253",
  "modified": "2026-03-13T21:50:35.083846435Z",
  "published": "2021-01-21T15:15:14.580Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/dbijaya/OnlineVotingSystem/security/advisories/GHSA-wwg8-372v-v332"
    },
    {
      "type": "FIX",
      "url": "https://github.com/dbijaya/OnlineVotingSystem/commit/0181cb0272857696c8eb3e44fcf6cb014ff90f09"
    }
  ],
  "related": [
    "GHSA-wwg8-372v-v332"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}