#VU76182 Infinite loop in jpeg-js - CVE-2022-25851


Vulnerability identifier: #VU76182

Vulnerability risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2022-25851

CWE-ID: CWE-835

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
jpeg-js
Web applications / JS libraries

Vendor: eugeneware

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop when processing JPEG images. A remote attacker can consume all available system resources and cause denial of service conditions.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

jpeg-js: 0.0.1 - 0.4.3


External links
https://snyk.io/vuln/SNYK-JS-JPEGJS-2859218
https://github.com/jpeg-js/jpeg-js/issues/105
https://github.com/jpeg-js/jpeg-js/pull/106/
https://github.com/jpeg-js/jpeg-js/commit/9ccd35fb5f55a6c4f1902ac5b0f270f675750c27
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2860295


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability