node-twain vulnerable to Improper Check or Handling of Exceptional Conditions
High severity
GitHub Reviewed
Published
Jul 10, 2024
to the GitHub Advisory Database
•
Updated Aug 9, 2024
Description
Published by the National Vulnerability Database
Jul 10, 2024
Published to the GitHub Advisory Database
Jul 10, 2024
Reviewed
Jul 10, 2024
Last updated
Aug 9, 2024
All versions of the package node-twain 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