Improper Check or Handling of Exceptional Conditions Affecting node-twain package, versions *
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.04% (11th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-NODETWAIN-6421153
- published 9 Jul 2024
- disclosed 20 Feb 2024
- credit Alessio Della Libera
Introduced: 20 Feb 2024
CVE-2024-21525 Open this link in a new tabHow to fix?
There is no fixed version for node-twain
.
Overview
node-twain is an A TWAIN library for nodejs.
Affected versions of this package are vulnerable to Improper Check or Handling of Exceptional Conditions due to the length of the source data not being checked. Creating a new twain.TwainSDK
with a productName
or productFamily
, manufacturer
, version.info
property of length >= 34 chars leads to a buffer overflow vulnerability.
References
CVSS Scores
version 3.1