Vulnerabilities in pkg:npm/codem-transcode

PACKAGE
Advisory Identifier: GHSA-rph7-j9qr-h8q8
Advisory Summary

CVE-2013-7377 is a HIGH (CVSS 8.1) potential command injection vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Codem transcode libraries in the npm ecosystem. The issue involves potential command injection in codem-transcode. Remediation is available by upgrading affected packages to version 0.5.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/codem-transcode

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/codem-transcode. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-rph7-j9qr-h8q8 CVE-2013-7377 HIGH Potential Command Injection in codem-transcode

CVE-2013-7377 at a Glance

CVE Identifier CVE-2013-7377
GHSA Identifier GHSA-rph7-j9qr-h8q8
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
Affected Product Codem transcode
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2013-7377

To remediate this vulnerability, upgrade all affected Codem transcode dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

codem-transcode fixed: 0.5.0
npm install codem-transcode@0.5.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls codem-transcode

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2013-7377, inspect your project dependencies using npm:

npm ls codem-transcode

Analyze the terminal output to locate any version of Codem transcode in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.0), your application is affected.

Note: The npm ls codem-transcode command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In Codem transcode, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

When the ffprobe functionality is enabled on the server, HTTP POST requests can be made to /probe. These requests are passed to the ffprobe binary on the server. Through this HTTP endpoint it is possible to send a malformed source file name to ffprobe that results in arbitrary command execution. ### Mitigating Factors: The ffprobe functionality is not enabled by default. In addition, exploitation opportunities are limited in a standard configuration because the server binds to the local interface by default. ## Recommendation An updated and patched version of the module (version 0.5.0) is available via npm. Users who have enabled the ffprobe functionality are especially encouraged to upgrade..

CVE-2013-7377 Affected Codem transcode Versions

1 component(s)
Fixed Versions:
0.5.0
Product / Package Ecosystem Affected Versions Fixed Version
codem-transcode
npm
< 0.5.0
0.5.0

References

Frequently Asked Questions

What is CVE-2013-7377?
CVE-2013-7377 is a security vulnerability in Codem transcode involving Potential Command Injection in codem-transcode under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection').
Which Codem transcode versions are affected?
Affected versions include releases prior to 0.5.0 across affected packages: codem-transcode.
What version fixes CVE-2013-7377?
Upgrading to 0.5.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is codem-transcode affected?
Yes, codem-transcode is affected in releases prior to 0.5.0. Upgrade your dependency to 0.5.0 or later.
What is the CVSS score of CVE-2013-7377?
CVE-2013-7377 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2013-7377?
CVE-2013-7377 is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') (The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.).
How can I check npm dependencies for CVE-2013-7377?
Run the dependency tree command: 'npm ls codem-transcode'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-rph7-j9qr-h8q8",
  "modified" : "2021-09-17T19:23:32Z",
  "published" : "2017-11-28T22:20:17Z",
  "aliases" : [ "CVE-2013-7377" ],
  "summary" : "Potential Command Injection in codem-transcode",
  "details" : "When the ffprobe functionality is enabled on the server, HTTP POST requests can be made to /probe. These requests are passed to the ffprobe binary on the server. Through this HTTP endpoint it is possible to send a malformed source file name to ffprobe that results in arbitrary command execution.\n\n### Mitigating Factors:\nThe ffprobe functionality is not enabled by default. In addition, exploitation opportunities are limited in a standard configuration because the server binds to the local interface by default.\n\n\n## Recommendation\n\nAn updated and patched version of the module (version 0.5.0) is available via npm. Users who have enabled the ffprobe functionality are especially encouraged to upgrade..",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "codem-transcode"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.5.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-7377"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-rph7-j9qr-h8q8"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/2"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2014/05/13/1"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2014/05/15/2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-77" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:55:22Z",
    "nvd_published_at" : null
  }
}