CVE-2021-41168
published medium CVSS 3.1 · 6.5Hash-Collision Denial-of-Service Vulnerability in snudown
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| — | snudown< 1.7.0 | Affected | Not stated | GitHub_M |
Description
Snudown is a reddit-specific fork of the Sundown Markdown parser used by GitHub, with Python integration added. In affected versions snudown was found to be vulnerable to denial of service attacks to its reference table implementation. References written in markdown ` [reference_name]: https://www.example.com` are inserted into a hash table which was found to have a weak hash function, meaning that an attacker can reliably generate a large number of collisions for it. This makes the hash table vulnerable to a hash-collision DoS attack, a type of algorithmic complexity attack. Further the hash table allowed for duplicate entries resulting in long retrieval times. Proofs of concept and further discussion of the hash collision issue are discussed on the snudown GHSA(https://github.com/reddit/snudown/security/advisories/GHSA-6gvv-9q92-w5f6). Users are advised to update to version 1.7.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| snudown | < 1.7.0 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-20 CWE-20: Improper Input Validation
- CWE-327 CWE-327: Use of a Broken or Risky Cryptographic Algorithm
References
2Provider assertions
2GitHub_M · cna
Hash-Collision Denial-of-Service Vulnerability in snudown
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a6ca17dee0f9ffda4a5261838afdd642ed6481c27fd05e9c610f8c123ff9468a
- Ingested
- 23 Sep 2026, 07:56:07 UTC
- Source record
- Official CVE record