Read the docs
TI-2024-22533 Aliases CVE-2024-34075GHSA-hfrv-h3q8-9jpr

kurwov vulnerable to Denial of Service due to improper data sanitization

Priority LOW 27CWE-502Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-502.

Summary

kurwov is a fast, dependency-free library for creating Markov Chains. An unsafe sanitization of dataset contents on the `MarkovData#getNext` method used in `Markov#generate` and `Markov#choose` allows a maliciously crafted string on the dataset to throw and stop the function from running properly. If a string contains a forbidden substring (i.e. `__proto__`) followed by a space character, the code will access a special property in `MarkovData#finalData` by removing the last character of the string, bypassing the dataset sanitization (as it is supposed to be already sanitized before this function is called). Any dataset can be contaminated with the substring making it unable to properly generate anything in some cases. This issue has been addressed in version 3.2.5 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00299 22nd percentileScored 2026-11-07
Fix Fixed kurwov (xiboon): 3.2.5kurwov (npm): 3.2.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
xiboonkurwov3.1.0 to before 3.2.53.2.5Patch availableCNA
—kurwov (npm)3.1.0 to before 3.2.53.2.5Patch availableGHSA-hfrv-h3q8-9jpr
  • kurwov Vendorxiboon Affected 3.1.0 to before 3.2.5 Fixed in 3.2.5 Patch available CNA
  • kurwov (npm) Vendor— Affected 3.1.0 to before 3.2.5 Fixed in 3.2.5 Patch available GHSA-hfrv-h3q8-9jpr

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:xiboon:kurwov:*:*:*:*:*:*:*:*——xiboon
  • cpe:2.3:a:xiboon:kurwov:*:*:*:*:*:*:*:* Versions — — ·xiboon

Remediation

  • Fix · CNA kurwov (xiboon) Fixed in 3.2.5
  • Fix · GHSA-hfrv-h3q8-9jpr kurwov (npm) Fixed in 3.2.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-34075
  2. 2026-10-03 Alias added: GHSA-hfrv-h3q8-9jpr

References

Sources