Security mailing lists by PureSourceCode

CVE-2024-21525

HIGH 8.3CVSS 3.1

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
10 Jul 2024
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Deferred
Weakness
CWE-703
Also known as
GHSA-wxr3-2hgv-qm8f
Sources
NVDJSONOSV GHSA-wxr3-2hgv-qm8fJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 8.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
OSV GitHub CVSS 3.1 HIGH 8.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm node-twain <= 0.0.16

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 10 Jul 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Jul 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.