# CVE-2021-21253: Use of a One-Way Hash without a Salt in OnlineVotingSystem

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 56% of CVEs (2026-12-01)
- Published: 2021-01-21T14:20:16.000Z
- Modified: 2026-06-17T03:35:08.080Z
- Weaknesses: CWE-759, CWE-916
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- dbijaya OnlineVotingSystem: < 1.1.2
- onlinevotingsystem_project onlinevotingsystem: before 1.1.2

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/dbijaya/OnlineVotingSystem/security/advisories/GHSA-wwg8-372v-v332> (third-party-advisory)
- <https://github.com/dbijaya/OnlineVotingSystem/commit/0181cb0272857696c8eb3e44fcf6cb014ff90f09> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-21253](https://www.cve.org/CVERecord?id=CVE-2021-21253), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-21253](https://nvd.nist.gov/vuln/detail/CVE-2021-21253), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21253 · Whole record: https://cve.day/CVE-2021-21253.json · Rebuilt by cve.day 2026-11-25T22:57:59.717Z
