CVE-2024-38366: trunk.cocoapods.org is the authentication server for the CoacoaPods dependency manager
CVE-2024-38366 is a critical-severity flaw (CVSS 10.0) affecting trunk.cocoapods.org. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
trunk.cocoapods.org is the authentication server for the CoacoaPods dependency manager. The part of trunk which verifies whether a user has a real email address on signup used a rfc-822 library which executes a shell command to validate the email domain MX records validity. It works via an DNS MX. This lookup could be manipulated to also execute a command on the trunk server, effectively giving root access to the server and the infrastructure. Th
Why this priority
- Critical severity
- EPSS top 3%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 10.0 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 17.8% (top 3%) |
| CISA exploited list | No |
| Weakness | CWE-74 |
| Published | 2024-07-01 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: ReeFSpeK/CocoaPods-RCE_CVE-2024-38366 (1 stars)
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-38366?
trunk.cocoapods.org: upgrade to 2023-09-22. Exact commands for each OS are on this page.
Is CVE-2024-38366 being exploited?
CVE-2024-38366 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-38366 affect?
CVE-2024-38366 affects trunk.cocoapods.org. Severity is critical (CVSS 10.0). trunk.cocoapods.org is the authentication server for the CoacoaPods dependency manager. The part of trunk which verifies whether a user has a real email address on signup used a rfc-822 library which executes a shell command to validate the
How urgent is CVE-2024-38366?
Priority 69/100. Critical severity; EPSS top 3%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2024-38368 CRITICAL 9.3 UPGRADE trunk.cocoapods.org is the authentication server for the CoacoaPods dependency manager
- CVE-2024-38367 HIGH 8.2 UPGRADE trunk.cocoapods.org is the authentication server for the CoacoaPods dependency manager