From e4b1fa7874e8d7a55e85b53ce332f1ba0ee58c9a Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Tue, 28 May 2024 20:45:22 +0000 Subject: [PATCH] Publish GHSA-7jg2-jgv3-fmr4 --- .../GHSA-7jg2-jgv3-fmr4.json | 60 +++++++++++++++++-- 1 file changed, 55 insertions(+), 5 deletions(-) rename advisories/{unreviewed => github-reviewed}/2022/05/GHSA-7jg2-jgv3-fmr4/GHSA-7jg2-jgv3-fmr4.json (60%) diff --git a/advisories/unreviewed/2022/05/GHSA-7jg2-jgv3-fmr4/GHSA-7jg2-jgv3-fmr4.json b/advisories/github-reviewed/2022/05/GHSA-7jg2-jgv3-fmr4/GHSA-7jg2-jgv3-fmr4.json similarity index 60% rename from advisories/unreviewed/2022/05/GHSA-7jg2-jgv3-fmr4/GHSA-7jg2-jgv3-fmr4.json rename to advisories/github-reviewed/2022/05/GHSA-7jg2-jgv3-fmr4/GHSA-7jg2-jgv3-fmr4.json index c98c840c5eb..d0ce2b6eddd 100644 --- a/advisories/unreviewed/2022/05/GHSA-7jg2-jgv3-fmr4/GHSA-7jg2-jgv3-fmr4.json +++ b/advisories/github-reviewed/2022/05/GHSA-7jg2-jgv3-fmr4/GHSA-7jg2-jgv3-fmr4.json @@ -1,12 +1,13 @@ { "schema_version": "1.4.0", "id": "GHSA-7jg2-jgv3-fmr4", - "modified": "2022-05-14T01:22:02Z", + "modified": "2024-05-28T20:43:53Z", "published": "2022-05-14T01:22:02Z", "aliases": [ "CVE-2018-5158" ], - "details": "The PDF viewer does not sufficiently sanitize PostScript calculator functions, allowing malicious JavaScript to be injected through a crafted PDF file. This JavaScript can then be run with the permissions of the PDF viewer by its worker. This vulnerability affects Firefox ESR < 52.8 and Firefox < 60.", + "summary": "Malicious PDF can inject JavaScript into PDF Viewer", + "details": "The PDF viewer does not sufficiently sanitize PostScript calculator functions, allowing malicious JavaScript to be injected through a crafted PDF file. This JavaScript can then be run with the permissions of the PDF viewer by its worker. This vulnerability affects Firefox ESR < 52.8, Firefox < 60 and PDF.js < 2.0.550.", "severity": [ { "type": "CVSS_V3", @@ -14,13 +15,58 @@ } ], "affected": [ - + { + "package": { + "ecosystem": "npm", + "name": "pdfjs-dist" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.0.0" + }, + { + "fixed": "2.0.550" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "npm", + "name": "pdfjs-dist" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "1.10.100" + } + ] + } + ] + } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-5158" }, + { + "type": "WEB", + "url": "https://github.com/mozilla/pdf.js/pull/9659" + }, + { + "type": "WEB", + "url": "https://github.com/mozilla/pdf.js/commit/2dc4af525d1612c98afcd1e6bee57d4788f78f97" + }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2018:1414" @@ -33,6 +79,10 @@ "type": "WEB", "url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1452075" }, + { + "type": "PACKAGE", + "url": "https://github.com/mozilla/pdf.js" + }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2018/05/msg00007.html" @@ -71,8 +121,8 @@ "CWE-94" ], "severity": "HIGH", - "github_reviewed": false, - "github_reviewed_at": null, + "github_reviewed": true, + "github_reviewed_at": "2024-05-28T20:43:53Z", "nvd_published_at": "2018-06-11T21:29:00Z" } } \ No newline at end of file