CVE-2021-34801: Denial of service in Valine
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.76536%
CWE
Published
6/21/2021
Updated
2/1/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
valine | npm | <= 1.4.14 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests when processing truncated User-Agent strings, suggesting the UA parsing logic fails to handle incomplete formats. While exact implementation details aren't available, the CWE-94 classification and issue reports indicate the system executes code based on UA input without proper validation. This would cause unhandled exceptions when parsing malformed UA strings, preventing comment loading. The medium confidence reflects the lack of direct code access, but the pattern matches common UA parsing vulnerabilities in client-side JS
systems.