CVE-2021-23639
Summary
| CVE | CVE-2021-23639 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-12-10 20:15:00 UTC |
| Updated | 2021-12-14 18:48:00 UTC |
| Description | The package md-to-pdf before 5.0.0 are vulnerable to Remote Code Execution (RCE) due to utilizing the library gray-matter to parse front matter content, without disabling the JS engine. |
Risk And Classification
Problem Types: NVD-CWE-noinfo
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Markdown To Pdf Project | Markdown To Pdf | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Security: gray-matter exposes front matter JS-engine that leads to arbitrary code execution · Issue #99 · simonhaenisch/md-to-pdf · GitHub | CONFIRM | github.com | |
| fix: disable JS engine for front-matter by default to prevent RCE · simonhaenisch/md-to-pdf@a716259 · GitHub | CONFIRM | github.com | |
| Remote Code Execution (RCE) in md-to-pdf | Snyk | CONFIRM | snyk.io | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Oscar Arnflo
There are currently no legacy QID mappings associated with this CVE.