CVE-2024-38368
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data tampering.
- Exploit odds
- 14.9% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 14.9% in the next 30 days (EPSS).
- Severity: 9.3 CRITICAL (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 14.9% · EPSS, next 30 days
- Weakness
- CWE-668 · Resource exposure
- Record status
- Modified
Affected
- Cocoapods trunk.cocoapods.org < 2023-09-22
Attack profile CVSS 3.1 · 9.3
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- None
- Integrity
- High
- Availability
- Low
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-38368.md and follow it. Check whether this project is affected by CVE-2024-38368. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://blog.cocoapods.org/CocoaPods-Trunk-RCEs-2023
- https://github.com/CocoaPods/CocoaPods/security/advisories/GHSA-j483-qm5c-7hqx
- https://github.com/CocoaPods/trunk.cocoapods.org/commit/71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4
- https://blog.cocoapods.org/CocoaPods-Trunk-RCEs-2023
- https://github.com/CocoaPods/CocoaPods/security/advisories/GHSA-j483-qm5c-7hqx
- https://github.com/CocoaPods/trunk.cocoapods.org/commit/71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4
References
- https://blog.cocoapods.org/Claim-Your-Pods
- https://blog.cocoapods.org/CocoaPods-Trunk-RCEs-2023
- https://evasec.webflow.io/blog/eva-discovered-supply-chain-vulnerabities-in-cocoapods#1-taking-unauthorized-ownership-over-orphaned-pods
- https://github.com/CocoaPods/CocoaPods/security/advisories/GHSA-j483-qm5c-7hqx
- https://github.com/CocoaPods/trunk.cocoapods.org/commit/71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4
- https://blog.cocoapods.org/Claim-Your-Pods
- https://blog.cocoapods.org/CocoaPods-Trunk-RCEs-2023
- https://evasec.webflow.io/blog/eva-discovered-supply-chain-vulnerabities-in-cocoapods#1-taking-unauthorized-ownership-over-orphaned-pods
- https://github.com/CocoaPods/CocoaPods/security/advisories/GHSA-j483-qm5c-7hqx
- https://github.com/CocoaPods/trunk.cocoapods.org/commit/71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4