GHSA-9p64-h5q4-phpm: Office converter Remote Code Execution Vulnerability

HIGH
CWE-20
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-9p64-h5q4-phpm
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-20: Improper Input Validation
Affected Product Office converter
Package Ecosystem npm
Published Date
Last Updated

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.

office-converter fixed: Latest secure release
npm install office-converter@Latest secure release
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 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

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. ## Recommendation No fix is currently available. Consider using an alternative module until a fix is made available.

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?
GHSA-9p64-h5q4-phpm is a security vulnerability in Office converter involving Remote Code Execution in office-converter under CWE-20: Improper Input Validation.
Which Office converter versions are affected?
Affected versions include releases prior to current release patches across affected packages: office-converter.
What version fixes GHSA-9p64-h5q4-phpm?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is office-converter affected?
Yes, office-converter is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-9p64-h5q4-phpm?
GHSA-9p64-h5q4-phpm is classified under CWE-20: Improper Input Validation (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.).
How can I check npm dependencies for GHSA-9p64-h5q4-phpm?
Run the dependency tree command: 'npm ls office-converter'. 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-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
  }
}