{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-21253 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-21253 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-21253 is a medium-severity vulnerability in dbijaya OnlineVotingSystem, published on 21 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-21253 and fix it if it is affected.\n\nWhat it is: CVE-2021-21253 is a medium-severity vulnerability in dbijaya OnlineVotingSystem, published on 21 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-21253 in the wild and no public exploit code.\n\nAffected product: dbijaya OnlineVotingSystem. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-21253/ (Markdown: https://insights.sbomify.com/CVE-2021-21253/index.md)","id":"CVE-2021-21253","markdown":"https://insights.sbomify.com/CVE-2021-21253/index.md","name":"CVE-2021-21253","record":{"aliases":["GHSA-wwg8-372v-v332"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Online Voting System","requires_auth":"none","summary":"Attackers can crack user passwords using rainbow tables because the voting system hashes passwords without a salt, compromising user accounts.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"onlinevotingsystem","vendor":"onlinevotingsystem_project"}],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-916","name":"Use of Password Hash With Insufficient Computational Effort"},{"id":"CWE-759","name":"Use of a One-Way Hash without a Salt"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Use of a One-Way Hash without a Salt in OnlineVotingSystem","id":"CVE-2021-21253","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"weak_cryptography","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Regular expression Denial of Service in Markdown plugin","id":"CVE-2021-21254"},"packages":[],"prev":{"headline":"Regular expression denial of service in jquery-validation","id":"CVE-2021-21252"},"products":["OnlineVotingSystem"],"published":"2021-01-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["dbijaya"]},"summary":"Attackers can crack user passwords using rainbow tables because the voting system hashes passwords without a salt, compromising user accounts.","url":"https://insights.sbomify.com/CVE-2021-21253/"}