Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-10061

utils/find-opencv.js in node-opencv (aka OpenCV bindings for Node.js) prior to 6.1.0 is vulnerable to Command Injection. It does not validate user input allowing attackers to execute arbitrary commands.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-10061
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:27 UTC · Revision 1

Source evidence

CVE-2019-10061

core-osv · Original source

Published 26 Mar 2019, 01:29 UTC

utils/find-opencv.js in node-opencv (aka OpenCV bindings for Node.js) prior to 6.1.0 is vulnerable to Command Injection. It does not validate user input allowing attackers to execute arbitrary commands.

osv:CVE-2019-10061
Complete source record
{
  "id": "7689359a9cb34b0aebb82f7f9c5e4fad7ffb00961c040ffea18d4faa8b6471da",
  "url": "https://osv.dev/vulnerability/CVE-2019-10061",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-10061",
    "summary": "utils/find-opencv.js in node-opencv (aka OpenCV bindings for Node.js) prior to 6.1.0 is vulnerable to Command Injection. It does not validate user input allowing attackers to execute arbitrary commands.",
    "evidence": "osv:CVE-2019-10061",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2019-10061",
      "aliases": [
        "CVE-2019-10061",
        "GHSA-mc7w-4cjf-c973"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/peterbraden/node-opencv",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "81a4b8620188e89f7e4fc985f3c89b58d4bcc86b"
                },
                {
                  "fixed": "aaece6921d7368577511f06c94c99dd4e9653563"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "81a4b8620188e89f7e4fc985f3c89b58d4bcc86b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "aaece6921d7368577511f06c94c99dd4e9653563"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v6.0.0",
            "v3.0.0",
            "v0.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-10061.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-10061-4c5c5caa",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "112452988723884673506501273598000269917",
                    "188992419719563020502915929919504129267",
                    "273346043374247195419051745256349540325",
                    "187460271573234866350606439562746424139"
                  ]
                },
                "source": "https://github.com/peterbraden/node-opencv/commit/aaece6921d7368577511f06c94c99dd4e9653563",
                "target": {
                  "file": "src/FaceRecognizer.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:36:34Z"
          }
        }
      ],
      "modified": "2026-10-20T13:36:34.899136817Z",
      "provider": "osv",
      "references": [
        "https://www.npmjs.com/advisories/789",
        "https://github.com/peterbraden/node-opencv/commit/81a4b8620188e89f7e4fc985f3c89b58d4bcc86b",
        "https://github.com/peterbraden/node-opencv/commit/aaece6921d7368577511f06c94c99dd4e9653563"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:node-opencv_project:node-opencv:*:*:*:*:*:node.js:*:*"
            ],
            "vendor_product": "node-opencv_project:node-opencv",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "6.1.0"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "6.1.0"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-10061",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387885,
  "published_at": "2019-03-26T01:29:00.71+00:00"
}