mirror of
https://github.com/0xMarcio/cve.git
synced 2025-06-19 17:30:12 +00:00
967 B
967 B
CVE-2024-21525
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.
POC
Reference
- https://gist.github.com/dellalibera/55b87634a6c360e5be22a715f0566c99
- https://security.snyk.io/vuln/SNYK-JS-NODETWAIN-6421153