MASTG-DEMO-0052: Scanning Package Manager Artifacts for Insecure iOS Dependencies
Download MASTG-DEMO-0052 IPA Open MASTG-DEMO-0052 Folder Build MASTG-DEMO-0052 IPA
Sample¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
Steps¶
Let's run dependency-check in the root directory of the Xcode project.
run.sh | |
---|---|
1 2 |
|
Observation¶
The SARIF file can be opened by using Visual Studio Code (vscode) for analyzing the identified vulnerabilities.
output.txt | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
|
Evaluation¶
Review each of the reported instances, as it can contain false positives. The library swift-nio
has at least 2 known vulnerabilities as part of Swift with CVE-2022-3918 and CVE-2022-1642 and should be updated to the latest version.