Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTVnd2gtZzc5ai12aDRx
Command Injection in pdf-image
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
.
Recommendation
Update to version 2.0.0 or later.
Permalink: https://github.com/advisories/GHSA-5gwh-g79j-vh4qJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTVnd2gtZzc5ai12aDRx
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 4 years ago
Updated: almost 2 years ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-5gwh-g79j-vh4q, CVE-2018-3757
References:
- https://hackerone.com/reports/340208
- https://www.npmjs.com/advisories/670
- https://nvd.nist.gov/vuln/detail/CVE-2018-3757
- https://github.com/roest01/node-pdf-image/commit/54679496a89738443917608c2bbe2f6e5dd20e83
- https://github.com/advisories/GHSA-5gwh-g79j-vh4q
Blast Radius: 22.6
Affected Packages
npm:pdf-image
Dependent packages: 27Dependent repositories: 203
Downloads: 20,832 last month
Affected Version Ranges: < 2.0.0
Fixed in: 2.0.0
All affected versions: 0.0.1, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1.0
All unaffected versions: 2.0.0