CVE-2024-38368 Trunk's 'Claim your pod' could be used to obtain un-used pods
CriticalCVSS 9.3
EPSS 14.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
trunk.cocoapods.org is the authentication server for the CoacoaPods dependency manager. A vulnerability affected older pods which migrated from the pre-2014 pull request workflow to trunk. If the pods had never been claimed then it was still possible to do so. It was also possible to have all owners removed from a pod, and that made the pod available for the same claiming system. This was patched server-side in commit 71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4 in September 2023.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| CocoaPods | < 71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4; = < 71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4 | 71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4 | Fixed |
| cocoapods trunk.cocoapods.org | < 2023-09-22 | 2023-09-22 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| CocoaPods | = < 71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4 | No fix listed |
| CocoaPods | < 71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4 | 71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4 |
| cocoapods trunk.cocoapods.org | < 2023-09-22 | 2023-09-22 |
References
- https://github.com/CocoaPods/CocoaPods/security/advisories/GHSA-j483-qm5c-7hqx third-party-advisory
- https://github.com/CocoaPods/trunk.cocoapods.org/commit/71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4 patch
- https://blog.cocoapods.org/Claim-Your-Pods product
- https://blog.cocoapods.org/CocoaPods-Trunk-RCEs-2023 vendor-advisory
- https://evasec.webflow.io/blog/eva-discovered-supply-chain-vulnerabities-in-cocoapods#1-taking-unauthorized-ownership-over-orphaned-pods third-party-advisory
- ENISA EUVD EUVD-2024-37282 third-party-advisory