Vulnerability CVE-2021-23639


Published: 2021-12-10

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.

Type:

NVD-CWE-noinfo

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
7.5/10
6.4/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Markdown to pdf project -> Markdown to pdf 

 References:
https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8a
https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880
https://github.com/simonhaenisch/md-to-pdf/issues/99

Copyright 2024, cxsecurity.com

 

Back to Top