{"id":"CVE-2024-21525","aliases":[],"url":"https://o3.security/vulnerability/CVE-2024-21525","summary":"node-twain vulnerable to Improper Check or Handling of Exceptional Conditions","details":"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":"2024-07-10T06:33:52Z","modified":"2024-07-10T21:44:52.351858Z","cvss":{"score":8.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"node-twain","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21525"},{"type":"WEB","url":"https://gist.github.com/dellalibera/55b87634a6c360e5be22a715f0566c99"},{"type":"PACKAGE","url":"https://github.com/Luomusha/node-twain"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-NODETWAIN-6421153"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2024-07-10T21:44:52.351858Z"}}