THREATPORT/VULNERABILITY/CVE-2024-38366
CRITICAL SEVERITY

CVE-2024-38366

Trunk.Cocoapods.Org vulnerability

CVSS
10.0
EPSS
17.8%
EPSS pct
97th
Exploited
No known
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.
Affected vendor
Cocoapods
Affected product
Trunk.Cocoapods.Org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness type (CWE)
Published
2024-07-01

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to high impact to confidentiality, high impact to integrity, high impact to availability.

Its EPSS score of 17.8% reflects a moderate probability of exploitation activity in the wild over the next 30 days, placing it above 97% of all scored CVEs.

Check your external exposure to CVE-2024-38366

  • Confirm whether Cocoapods Trunk.Cocoapods.Org is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2024-38366.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2024-38366

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2024-38366 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2024-38366?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2024-38366.

Start free scan

No credit card. Agentless.