Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://gist.github.com/dellalibera/55b87634a6c360e5be22a715f0566c99
- https://security.snyk.io/vuln/SNYK-JS-NODETWAIN-6421153
- https://gist.github.com/dellalibera/55b87634a6c360e5be22a715f0566c99
- https://security.snyk.io/vuln/SNYK-JS-NODETWAIN-6421153
FAQ
What is CVE-2024-21525?
CVE-2024-21525 is a vulnerability with a CVSS score of 8.3 (HIGH). 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...
How severe is CVE-2024-21525?
CVE-2024-21525 has been rated HIGH with a CVSS base score of 8.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-21525?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.