CVE-2018-4220Apple Swift
High 8.8 No auth needed
Follow: this CVE · Apple · Apple Swift We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.0
- 8.8
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 82
- Auth required
- No
- Published
- Jun 8, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Apple
- Weakness (CWE)
- CWE-732
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
An issue was discovered in certain Apple products. Swift before 4.1.1 Security Update 2018-001 is affected. The issue involves the "Swift for Ubuntu" component. It allows attackers to execute arbitrary code in a privileged context because write and execute permissions are enabled during library loading.
What to do
- Apply the vendor's security update for Swift.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apple | swift | < 4.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- support.apple.com Vendor Advisory