iOS and iPadOS: Improper Link Resolution Before File Access
CVE-2022-22585 is a high-severity improper link resolution before file access vulnerability in iOS and iPadOS from Apple, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 15.3 as the first without the flaw, so updating iOS and iPadOS to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 1.65% chance of exploitation within 30 days, higher than 77% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update iOS and iPadOS to 15.3 or a later version.
- Update macOS to 12.2 or 11.6, whichever matches your release line, or a later version.
- Update tvOS to 15.3 or a later version.
- Read the advisory on support.apple.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Apple | iOS and iPadOS | before 15.3 | 15.3 |
| Apple | macOS | before 12.2; before 11.6 | 12.2, 11.6 |
| Apple | tvOS | before 15.3 | 15.3 |
| Apple | watchOS | before 8.4 | 8.4 |
| Apple | iPadOS | before 15.3 | 15.3 |
| Apple | Iphone OS | before 15.3 | 15.3 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- NoneNothing can be modified.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.5 | High | NVD |
| CVSS 2.0 | 5.0 | Medium | NVD |
Official description
An issue existed within the path validation logic for symlinks. This issue was addressed with improved path sanitization. This issue is fixed in iOS 15.3 and iPadOS 15.3, watchOS 8.4, tvOS 15.3, macOS Monterey 12.2, macOS Big Sur 11.6.3. An application may be able to access a user's files.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Link Resolution Before File Access
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
How developers prevent this class of flaw
- Follow the principle of least privilege when assigning access rights to entities in a software system. Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.
More Improper Link Resolution Before File Access vulnerabilities (CWE-59)
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Advisories
- support.apple.com/en-us/HT213053Release Notes
- support.apple.com/en-us/HT213054Release Notes
- support.apple.com/en-us/HT213055Release Notes
- support.apple.com/en-us/HT213057Release Notes
- support.apple.com/en-us/HT213059Release Notes
Other vulnerabilities in iOS and iPadOS
- 8.8 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
Recent Improper Link Resolution Before File Access vulnerabilities
- 7.7 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
Spotted an error? Tell us.