GHSA-wxr3-2hgv-qm8f

Suggest an improvement
Source
https://github.com/advisories/GHSA-wxr3-2hgv-qm8f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-wxr3-2hgv-qm8f/GHSA-wxr3-2hgv-qm8f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wxr3-2hgv-qm8f
Aliases
  • CVE-2024-21525
Published
2024-07-10T06:33:52Z
Modified
2024-07-10T21:44:52.351858Z
Severity
  • 8.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L CVSS Calculator
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2024-07-10T05:15:11Z",
    "cwe_ids": [
        "CWE-703"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-07-10T21:29:30Z"
}
References

Affected packages

npm / node-twain

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.0.16