Skip to content
OpenAdvisories
High · 8.3 CVE-2024-21525 EUVD-2024-2443GHSA-wxr3-2hgv-qm8f

node-twain vulnerable to Improper Check or Handling of Exceptional Conditions

Published Jul 10, 2024 · Updated Aug 1, 2024 · Assigned by snyk

Description

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.

Affected products

VendorProductAffectedFixed
— node-twain — —

Affected packages

EcosystemPackageAffectedFixedRecord
npm node-twain <= 0.0.16 — GHSA-wxr3-2hgv-qm8f

References