Vulnerability Details : CVE-2021-39176
detect-character-encoding is a package for detecting character encoding using ICU. In detect-character-encoding v0.3.0 and earlier, allocated memory is not released. The problem has been patched in detect-character-encoding v0.3.1.
Products affected by CVE-2021-39176
- Detect-character-encoding Project » Detect-character-encoding » For Node.jsVersions before (<) 0.3.1cpe:2.3:a:detect-character-encoding_project:detect-character-encoding:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-39176
0.31%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 70 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-39176
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2021-39176
-
The product does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory.Assigned by: security-advisories@github.com (Primary)
References for CVE-2021-39176
-
https://github.com/sonicdoe/detect-character-encoding/commit/d44356927b92e3b13e178071bf6d7c671766f588
Fix memory leak by properly closing `charsetDetector` · sonicdoe/detect-character-encoding@d443569 · GitHubPatch;Third Party Advisory
-
https://github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-5rwj-j5m3-3chj
Missing Release of Memory after Effective Lifetime in detect-character-encoding · Advisory · sonicdoe/detect-character-encoding · GitHubExploit;Patch;Third Party Advisory
-
https://github.com/sonicdoe/detect-character-encoding/pull/6
Fix memory leak by properly closing charsetDetector by mhertsch · Pull Request #6 · sonicdoe/detect-character-encoding · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://github.com/sonicdoe/detect-character-encoding/releases/tag/v0.3.1
Release v0.3.1 · sonicdoe/detect-character-encoding · GitHubThird Party Advisory
Jump to