PT-2024-18939 · Unknown · Node-Twain
Alessio Della Libera
·
Published
2024-07-10
·
Updated
2024-07-11
·
CVE-2024-21525
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
node-twain versions all
Description
The issue arises from 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.Recommendations
For all versions, consider restricting the length of
productName, productFamily, manufacturer, and version.info properties to less than 34 characters to minimize the risk of exploitation until a patch is available. As a temporary workaround, consider disabling the creation of new twain.TwainSDK instances with long property values. At the moment, there is no information about a newer version that contains a fix for this vulnerability. Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Node-Twain