Read the docs
TI-2024-25623 Aliases CVE-2024-38366

CoacoaPods trunk RCE in email verification system rfc-822

Priority HIGH 76CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

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. This issue was patched server-side with commit 001cc3a430e75a16307f5fd6cdff1363ad2f40f3 in September 2023. This RCE triggered a full user-session reset, as an attacker could have used this method to write to any Podspec in trunk.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.17786 97th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed CocoaPods (CocoaPods): 001cc3a430e75a16307f5fd6cdff1363ad2f40f3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
CocoaPodsCocoaPodsbefore 001cc3a430e75a16307f5fd6cdff1363ad2f40f3001cc3a430e75a16307f5fd6cdff1363ad2f40f3Patch availableCNA
  • CocoaPods VendorCocoaPods Affected before 001cc3a430e75a16307f5fd6cdff1363ad2f40f3 Fixed in 001cc3a430e75a16307f5fd6cdff1363ad2f40f3 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:cocoapods:trunk.cocoapods.org:*:*:*:*:ruby:*:*:*before 2023-09-22VulnerableCocoaPods
  • cpe:2.3:a:cocoapods:trunk.cocoapods.org:*:*:*:*:ruby:*:*:* Versions before 2023-09-22 Vulnerable ·CocoaPods

Remediation

  • Fix · CNA CocoaPods (CocoaPods) Fixed in 001cc3a430e75a16307f5fd6cdff1363ad2f40f3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-38366

References

  • TI-2024-25624 CoacoaPods trunk sessions verification step could be manipulated for owner session hijacking CVSS 3.1CRITICAL 9.6
  • TI-2024-25625 Trunk's 'Claim your pod' could be used to obtain un-used pods CVSS 3.1CRITICAL 9.3

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences