CVE-2024-21525: node-twain vulnerable to Improper Check or Handling of Exceptional Conditions
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.
Published Jul 10, 2024 · Updated Aug 9, 2024
Affected packages
node-twain
- Ecosystem
- npm
- Affected
- <= 0.0.16
- Fixed in
- No patched version yet
- Check
npm ls node-twain
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
