What’s Vulnerable › Vulnerabilities
CVE-2021-21253: Use of a One-Way Hash without a Salt in OnlineVotingSystem
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-01-21 · updated 2026-06-17
- Weakness: CWE-759
Description
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.
Affected products
- dbijaya OnlineVotingSystem: before 1.1.2 — fixed in 1.1.2
How to fix
Upgrade to a fixed version: dbijaya OnlineVotingSystem 1.1.2. Check the vendor advisory for mitigations.
References
- https://github.com/dbijaya/OnlineVotingSystem/commit/0181cb0272857696c8eb3e44fcf6cb014ff90f09
- https://github.com/dbijaya/OnlineVotingSystem/security/advisories/GHSA-wwg8-372v-v332
- https://github.com/dbijaya/OnlineVotingSystem/commit/0181cb0272857696c8eb3e44fcf6cb014ff90f09
- https://github.com/dbijaya/OnlineVotingSystem/security/advisories/GHSA-wwg8-372v-v332
Get alerted when CVE-2021-21253 or the next vulnerability affects your stack