CVE-2021-41168

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-41168
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41168.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-41168
Related
  • GHSA-6gvv-9q92-w5f6
Published
2021-10-21T20:15:08Z
Modified
2025-01-15T02:04:23.140693Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/reddit/snudown

Affected ranges

Type
GIT
Repo
https://github.com/reddit/snudown
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

Other

semver

v1.*

v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.0.5
v1.0.6
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.1.5
v1.1.6
v1.2.0
v1.3.0
v1.3.1
v1.3.2
v1.5.0