Publish GHSA-7jg2-jgv3-fmr4

This commit is contained in:
advisory-database[bot]
2024-05-28 20:45:22 +00:00
parent f4684c7cb2
commit e4b1fa7874
@@ -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"
}
}