CVE-2018-5175Canonical Ubuntu Linux
Medium 6.1 No auth needed
Follow: this CVE · Canonical · Canonical Ubuntu Linux We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- Jun 11, 2018
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
A mechanism to bypass Content Security Policy (CSP) protections on sites that have a "script-src" policy of "'strict-dynamic'". If a target website contains an HTML injection flaw an attacker could inject a reference to a copy of the "require.js" library that is part of Firefox's Developer Tools, and then use a known technique using that library to bypass the CSP restrictions on executing injected scripts. This vulnerability affects Firefox < 60.
What to do
- Apply the vendor's security update for Ubuntu Linux.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 17.10 |
| canonical | ubuntu_linux | 18.04 |
| mozilla | firefox | < 60.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- bugzilla.mozilla.org Issue Tracking Permissions Required Vendor Advisory
- usn.ubuntu.com Third Party Advisory
- www.mozilla.org Vendor Advisory