Vulnerability Details : CVE-2022-25851
Potential exploit
The package jpeg-js before 0.4.4 are vulnerable to Denial of Service (DoS) where a particular piece of input will cause to enter an infinite loop and never return.
Vulnerability category: Denial of service
Products affected by CVE-2022-25851
- cpe:2.3:a:jpeg-js_project:jpeg-js:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-25851
0.10%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 24 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-25851
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
|
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
|
Snyk |
CWE ids for CVE-2022-25851
-
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-25851
-
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2860295
Denial of Service (DoS) in org.webjars.npm:jpeg-js | CVE-2022-25851 | SnykThird Party Advisory
-
https://github.com/jpeg-js/jpeg-js/issues/105
jpeg-js DoS (infinite loop) · Issue #105 · jpeg-js/jpeg-js · GitHubExploit;Issue Tracking;Third Party Advisory
-
https://github.com/jpeg-js/jpeg-js/commit/9ccd35fb5f55a6c4f1902ac5b0f270f675750c27
fix: validate sampling factors (#106) · jpeg-js/jpeg-js@9ccd35f · GitHubPatch;Third Party Advisory
-
https://github.com/jpeg-js/jpeg-js/pull/106/
Add limits on sampling factors by sohomdatta1 · Pull Request #106 · jpeg-js/jpeg-js · GitHubPatch;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JS-JPEGJS-2859218
Denial of Service (DoS) in jpeg-js | CVE-2022-25851 | SnykThird Party Advisory
Jump to