CVE-2024-21525

State
Published
Severity
8.3 High
Published
Jul 10, 2024
Updated
Aug 1, 2024
Reserved
Dec 22, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L/E:Psnyk

Weaknesses

  • CWE-703 Improper Check or Handling of Exceptional Conditions

Affected Products

ProductVersions
node-twainn/a
  • all versionsAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.