Unity Runtime before 2025-10-02 on Android, Windows, macOS, and Linux allows argument injection that can result in loading of library code from an unintended location. If an application was built with a version of Unity Editor that had the vulnerable Unity Runtime code, then an adversary may be able to execute code on, and exfiltrate confidential information from, the machine on which that application is running. NOTE: product status is provided for Unity Editor because that is the information available from the Supplier. However, updating Unity Editor typically does not address the effects of the vulnerability; instead, it is necessary to rebuild and redeploy all affected applications.
The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Editor | Unity | 2017.4 (including) | 2018.4 (including) |
| Editor | Unity | 2019.1 (including) | 2019.1.15f1 (excluding) |
| Editor | Unity | 2019.2 (including) | 2019.2.23f1 (excluding) |
| Editor | Unity | 2019.3 (including) | 2019.3.17f1 (including) |
| Editor | Unity | 2019.4 (including) | 2019.4.41f1 (excluding) |
| Editor | Unity | 2020.1 (including) | 2020.1.18f1 (excluding) |
| Editor | Unity | 2020.2 (including) | 2020.2.8f1 (excluding) |
| Editor | Unity | 2020.3 (including) | 2020.3.49f1 (excluding) |
| Editor | Unity | 2021.1 (including) | 2021.1.29f1 (excluding) |
| Editor | Unity | 2021.2 (including) | 2021.2.20f1 (excluding) |
| Editor | Unity | 2021.3 (including) | 2021.3.45f2 (excluding) |
| Editor | Unity | 2022.1 (including) | 2022.1.25f1 (excluding) |
| Editor | Unity | 2022.2 (including) | 2022.2.23f1 (excluding) |
| Editor | Unity | 2022.3 (including) | 2022.3.62f2 (excluding) |
| Editor | Unity | 2023.1 (including) | 2023.1.22f1 (excluding) |
| Editor | Unity | 2023.2 (including) | 2023.2.22f1 (excluding) |
| Editor | Unity | 6000.0 (including) | 6000.0.58f2 (excluding) |
| Editor | Unity | 6000.1 (including) | 6000.1.17f1 (excluding) |
| Editor | Unity | 6000.2 (including) | 6000.2.6f2 (excluding) |
| Editor | Unity | 6000.3 (including) | 6000.3.0b4 (excluding) |
| Editor | Unity | 2017.1.2p4+ (including) | 2017.1.2p4+ (including) |
| Editor | Unity | 2017.2.0p4+ (including) | 2017.2.0p4+ (including) |
| Editor | Unity | 2017.3.0b9+ (including) | 2017.3.0b9+ (including) |
When creating commands using interpolation into a string, developers may assume that only the arguments/options that they specify will be processed. This assumption may be even stronger when the programmer has encoded the command in a way that prevents separate commands from being provided maliciously, e.g. in the case of shell metacharacters. When constructing the command, the developer may use whitespace or other delimiters that are required to separate arguments when the command. However, if an attacker can provide an untrusted input that contains argument-separating delimiters, then the resulting command will have more arguments than intended by the developer. The attacker may then be able to change the behavior of the command. Depending on the functionality supported by the extraneous arguments, this may have security-relevant consequences.