{"id":"CVE-2021-23639","state":"PUBLISHED","title":"Remote Code Execution (RCE)","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.","publishedAt":"2021-12-10T20:05:16.643Z","updatedAt":"2024-09-17T00:45:43.108Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"snyk"},"assigner":"snyk","products":["n/a md-to-pdf"],"affected":[{"vendor":"n/a","product":"md-to-pdf","versions":[{"version":"unspecified","status":"affected","lessThan":"5.0.0","versionType":"custom"}]}],"references":["https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880","https://github.com/simonhaenisch/md-to-pdf/issues/99","https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8a"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:04.982Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/23xxx/CVE-2021-23639.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-23639","state":"PUBLISHED","datePublished":"2021-12-10T20:05:16.643Z","dateUpdated":"2024-09-17T00:45:43.108Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2021-01-08T00:00:00.000Z"},"containers":{"cna":{"title":"Remote Code Execution (RCE)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"md-to-pdf","versions":[{"version":"unspecified","status":"affected","lessThan":"5.0.0","versionType":"custom"}]}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880","tags":["x_refsource_MISC"]},{"url":"https://github.com/simonhaenisch/md-to-pdf/issues/99","tags":["x_refsource_MISC"]},{"url":"https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8a","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Remote Code Execution (RCE)","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2021-12-10T20:05:16.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"Oscar Arnflo"}],"datePublic":"2021-12-10T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2021-12-10T20:00:15.683853Z","ID":"CVE-2021-23639","STATE":"PUBLIC","TITLE":"Remote Code Execution (RCE)"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"md-to-pdf","version":{"version_data":[{"version_affected":"<","version_value":"5.0.0"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"Oscar Arnflo"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Remote Code Execution (RCE)"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880"},{"name":"https://github.com/simonhaenisch/md-to-pdf/issues/99","refsource":"MISC","url":"https://github.com/simonhaenisch/md-to-pdf/issues/99"},{"name":"https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8a","refsource":"MISC","url":"https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8a"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/simonhaenisch/md-to-pdf/issues/99","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8a","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:14:08.710Z"}}]}}}