Vulnerabilities in pkg:npm/codem-transcode
PACKAGECVE-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.
pkg:npm/codem-transcode
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
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).
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.
npm install codem-transcode@0.5.0
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
CVE-2013-7377 Affected Codem transcode Versions
1 component(s)| 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?
Which Codem transcode versions are affected?
What version fixes CVE-2013-7377?
Is codem-transcode affected?
What is the CVSS score of CVE-2013-7377?
What CWE is associated with CVE-2013-7377?
How can I check npm dependencies for CVE-2013-7377?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}