From c4cb9daddc4efddcdc1ad6401a5189257a284693 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Tue, 7 May 2024 10:26:37 +0000 Subject: [PATCH] Publish GHSA-wgrm-67xf-hhpq --- .../GHSA-wgrm-67xf-hhpq.json | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 advisories/github-reviewed/2024/05/GHSA-wgrm-67xf-hhpq/GHSA-wgrm-67xf-hhpq.json diff --git a/advisories/github-reviewed/2024/05/GHSA-wgrm-67xf-hhpq/GHSA-wgrm-67xf-hhpq.json b/advisories/github-reviewed/2024/05/GHSA-wgrm-67xf-hhpq/GHSA-wgrm-67xf-hhpq.json new file mode 100644 index 00000000000..2180e09a5d3 --- /dev/null +++ b/advisories/github-reviewed/2024/05/GHSA-wgrm-67xf-hhpq/GHSA-wgrm-67xf-hhpq.json @@ -0,0 +1,69 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-wgrm-67xf-hhpq", + "modified": "2024-05-07T10:25:08Z", + "published": "2024-05-07T10:25:08Z", + "aliases": [ + "CVE-2024-4367" + ], + "summary": "PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF", + "details": "### Impact\nIf pdf.js is used to load a malicious PDF, and PDF.js is configured with `isEvalSupported` set to `true` (which is the default value), unrestricted attacker-controlled JavaScript will be executed in the context of the hosting domain.\n\n### Patches\nThe patch removes the use of `eval`:\nhttps://github.com/mozilla/pdf.js/pull/18015\n\n### Workarounds\nSet the option `isEvalSupported` to `false`. \n\n### References\nhttps://bugzilla.mozilla.org/show_bug.cgi?id=1893645", + "severity": [ + + ], + "affected": [ + { + "package": { + "ecosystem": "npm", + "name": "pdfjs-dist" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "4.2.67" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "<= 4.1.392" + } + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/mozilla/pdf.js/security/advisories/GHSA-wgrm-67xf-hhpq" + }, + { + "type": "WEB", + "url": "https://github.com/mozilla/pdf.js/pull/18015" + }, + { + "type": "WEB", + "url": "https://github.com/mozilla/pdf.js/commit/85e64b5c16c9aaef738f421733c12911a441cec6" + }, + { + "type": "WEB", + "url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1893645" + }, + { + "type": "PACKAGE", + "url": "https://github.com/mozilla/pdf.js" + } + ], + "database_specific": { + "cwe_ids": [ + + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2024-05-07T10:25:08Z", + "nvd_published_at": null + } +} \ No newline at end of file