Vulnerability in Node-Twain

CVE-2024-21525

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 · last modified .

CVSS v3 metric

CVSS v3 base score 8.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L.

EPSS exploit prediction

EPSS 0.005, 46.6th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Node-Twain — versions 0

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 2 other repositories (dellalibera/dellalibera, fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References