ghsa-5v25-xr56-phph
Vulnerability from github
Published
2022-05-24 17:13
Modified
2023-10-19 18:32
Summary
Clamscan vulnerable to command injection
Details

clamscan through 1.2.0 is vulnerable to Command Injection. It is possible to inject arbitrary commands as part of the _is_clamav_binary function located within Index.js. It should be noted that this vulnerability requires a pre-requisite that a folder should be created with the same command that will be chained to execute. This lowers the risk of this issue.

Show details on source website


{
  "affected": [
    {
      "database_specific": {
        "last_known_affected_version_range": "\u003c= 1.2.0"
      },
      "package": {
        "ecosystem": "npm",
        "name": "clamscan"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2020-7613"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-74",
      "CWE-78"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2023-10-19T18:32:34Z",
    "nvd_published_at": "2020-04-07T14:15:00Z",
    "severity": "HIGH"
  },
  "details": "clamscan through 1.2.0 is vulnerable to Command Injection. It is possible to inject arbitrary commands as part of the `_is_clamav_binary` function located within `Index.js`. It should be noted that this vulnerability requires a pre-requisite that a folder should be created with the same command that will be chained to execute. This lowers the risk of this issue.",
  "id": "GHSA-5v25-xr56-phph",
  "modified": "2023-10-19T18:32:34Z",
  "published": "2022-05-24T17:13:40Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7613"
    },
    {
      "type": "WEB",
      "url": "https://github.com/kylefarris/clamscan/pull/45"
    },
    {
      "type": "WEB",
      "url": "https://github.com/kylefarris/clamscan/commit/5f557c970817fe8c578ec3f7ad3bcbcef4cf5538"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/kylefarris/clamscan"
    },
    {
      "type": "WEB",
      "url": "https://github.com/kylefarris/clamscan/blob/master/index.js#L34"
    },
    {
      "type": "WEB",
      "url": "https://huntr.dev/bounties/1-npm-clamscan"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Clamscan vulnerable to command injection"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…