GHSA-X949-7CM6-FM6P
Vulnerability from github – Published: 2021-12-16 14:34 – Updated: 2021-12-15 15:22
VLAI?
Summary
Code Injection in md-to-pdf.
Details
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.
Severity ?
9.8 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "md-to-pdf"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.0.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2021-23639"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": true,
"github_reviewed_at": "2021-12-14T14:31:35Z",
"nvd_published_at": "2021-12-10T20:15:00Z",
"severity": "CRITICAL"
},
"details": "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.",
"id": "GHSA-x949-7cm6-fm6p",
"modified": "2021-12-15T15:22:46Z",
"published": "2021-12-16T14:34:40Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23639"
},
{
"type": "WEB",
"url": "https://github.com/simonhaenisch/md-to-pdf/issues/99"
},
{
"type": "WEB",
"url": "https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8a"
},
{
"type": "PACKAGE",
"url": "https://github.com/simonhaenisch/md-to-pdf"
},
{
"type": "WEB",
"url": "https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Code Injection in md-to-pdf."
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…