CVE-2021-23639 Remote Code Execution (RCE)
CriticalCVSS 9.8
EPSS 5.4%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| markdown to pdf project markdown to pdf | < 5.0.0 | 5.0.0 | Fixed |
| npm md-to-pdf(npm) | < 5.0.0 | 5.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm md-to-pdf(npm) | < 5.0.0 | 5.0.0 |
| markdown to pdf project markdown to pdf | < 5.0.0 | 5.0.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch third-party-advisory
- github.com patch third-party-advisory
- snyk.io exploit patch third-party-advisory
- github.com
- github.com product