{"id":"GHSA-5gwh-g79j-vh4q","summary":"Command Injection in pdf-image","details":"Versions of `pdf-image` before 2.0.0 are vulnerable to command injection. This vulnerability is exploitable if the attacker has control over the `pdfFilePath` variable passed into `pdf-image`.\n\n\n## Recommendation\n\nUpdate to version 2.0.0 or later.","aliases":["CVE-2018-3757"],"modified":"2023-11-08T04:00:19.207216Z","published":"2020-09-01T20:44:52Z","database_specific":{"github_reviewed_at":"2020-08-31T18:32:08Z","nvd_published_at":null,"cwe_ids":["CWE-78"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3757"},{"type":"WEB","url":"https://github.com/roest01/node-pdf-image/commit/54679496a89738443917608c2bbe2f6e5dd20e83"},{"type":"WEB","url":"https://hackerone.com/reports/340208"},{"type":"PACKAGE","url":"https://github.com/roest01/node-pdf-image"},{"type":"WEB","url":"https://www.npmjs.com/advisories/670"}],"affected":[{"package":{"name":"pdf-image","ecosystem":"npm","purl":"pkg:npm/pdf-image"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-5gwh-g79j-vh4q/GHSA-5gwh-g79j-vh4q.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}