{"schemaVersion":3,"id":"CVE-2017-7813","aliases":["UBUNTU-CVE-2017-7813"],"status":"published","duplicateOf":null,"title":null,"description":"Inside the JavaScript parser, a cast of an integer to a narrower type can result in data read from outside the buffer being parsed. This usually results in a non-exploitable crash, but can leak a limited amount of information from memory if it matches JavaScript identifier syntax. This vulnerability affects Firefox < 56.","dates":{"published":"2018-06-11T21:00:00.000Z","modified":"2024-08-05T16:12:28.368Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.4,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.2,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","exploitability":10,"impact":7,"computed":true}]},"epss":{"probability":0.01564,"percentile":0.74944,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.03300000000000004,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01597},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01639,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01564,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01564,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01564,"percentile":0.74944}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01639,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01597,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01564,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01564,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01564,"percentile":0.74944}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_28D45134745513CC","name":"Exploit Reference (bugzilla.mozilla.org)","source":"reference","url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1383951","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-704","name":"Incorrect Type Conversion or Cast","description":"The product does not correctly convert an object, resource, or structure from one type to a different type.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/704.html"}],"affected":[{"vendor":"ubuntu","product":"firefox","name":"firefox","label":"firefox","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/firefox","purlType":"deb","versions":[{"text":"< 56.0+build6-0ubuntu0.14.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 56.0+build6-0ubuntu0.16.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 56.0+build6-0ubuntu1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 56.0+build6-0ubuntu0.14.04.1 | < 56.0+build6-0ubuntu0.16.04.1 | < 56.0+build6-0ubuntu1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs38","name":"mozjs38","label":"mozjs38","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs38","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mozilla","product":"firefox","name":"Firefox","label":"firefox","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 56","noFixRecorded":false,"fixedIn":null},{"text":"≤ 55.0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 56 | ≤ 55.0.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"firefox","label":"Firefox","category":"app"}},"hubHref":"/vendor/mozilla/firefox"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1383951","label":"bugzilla.mozilla.org/show_bug.cgi?id=1383951","hostname":"bugzilla.mozilla.org","tags":["X Refsource CONFIRM","Exploit","Issue Tracking"]},{"url":"http://www.securitytracker.com/id/1039465","label":"www.securitytracker.com/id/1039465","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","Third Party Advisory"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2017-21/","label":"www.mozilla.org/security/advisories/mfsa2017-21/","hostname":"www.mozilla.org","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/101057","label":"www.securityfocus.com/bid/101057","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-7813","label":"ubuntu.com/security/CVE-2017-7813","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2017-21/","label":"www.mozilla.org/en-US/security/advisories/mfsa2017-21/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3435-1","label":"ubuntu.com/security/notices/USN-3435-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-7813","label":"www.cve.org/CVERecord?id=CVE-2017-7813","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:10600-1","OPENSUSE-SU-2024:14572-1","USN-3435-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10600-1","OPENSUSE-SU-2024:14572-1","USN-3435-1"]},"timeline":[{"kind":"published","date":"2018-06-11T21:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T16:12:28.368Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T23:53:08.514Z","stale":false,"partial":false}}