GHSA-r9vm-rhmf-7hxx

Suggest an improvement
Source
https://github.com/advisories/GHSA-r9vm-rhmf-7hxx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-r9vm-rhmf-7hxx/GHSA-r9vm-rhmf-7hxx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-r9vm-rhmf-7hxx
Aliases
Published
2021-04-13T15:17:06Z
Modified
2026-09-10T03:49:03Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
OS Command Injection in im-resize
Details

im-resize through 2.3.2 allows remote attackers to execute arbitrary commands via the "exec" argument. The cmd argument used within index.js, can be controlled by user without any sanitization.

Database specific
{
    "cwe_ids":  [
        "CWE-78"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-03-29T23:01:10Z",
    "nvd_published_at":  "2020-02-04T21:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / im-resize

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-r9vm-rhmf-7hxx/GHSA-r9vm-rhmf-7hxx.json"