Skip to content

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

HighCVSS 8.3 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
luomusha node-twain All versions No fix listed No fix yet
npm node-twain(npm) <= 0.0.16 after 0.0.16 Fixed

Affected products

ProductAffected versionsFixed in
npm node-twain(npm) <= 0.0.16 No fix listed
luomusha node-twain All versions No fix listed

References