GHSA-9p64-h5q4-phpm: Office converter Remote Code Execution Vulnerability
HIGHGHSA-9p64-h5q4-phpm is a HIGH remote code execution vulnerability (CWE-20: Improper Input Validation) affecting Office converter libraries in the npm ecosystem. The issue involves remote code execution in office-converter. Remediation is available in the latest vendor maintenance releases.
GHSA-9p64-h5q4-phpm at a Glance
How to Fix GHSA-9p64-h5q4-phpm
To remediate this vulnerability, upgrade all affected Office converter 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 office-converter@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls office-converter
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-9p64-h5q4-phpm, inspect your project dependencies using npm:
npm ls office-converter
Analyze the terminal output to locate any version of Office converter in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls office-converter 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Office converter, 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
GHSA-9p64-h5q4-phpm Affected Office converter Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
office-converter
|
npm |
≥ 0.0.0
|
|
References
Frequently Asked Questions
What is GHSA-9p64-h5q4-phpm?
Which Office converter versions are affected?
What version fixes GHSA-9p64-h5q4-phpm?
Is office-converter affected?
What CWE is associated with GHSA-9p64-h5q4-phpm?
How can I check npm dependencies for GHSA-9p64-h5q4-phpm?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9p64-h5q4-phpm",
"modified" : "2020-08-31T18:34:44Z",
"published" : "2020-09-02T15:44:58Z",
"aliases" : [ ],
"summary" : "Remote Code Execution in office-converter",
"details" : "All versions of `office-converter` are vulnerable to Remote Code Execution. Due to insufficient input validation an attacker could run arbitrary commands on the server thus rendering the package vulnerable to Remote Code Execution.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "office-converter"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/759"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:34:44Z",
"nvd_published_at" : null
}
}