Skip to content

CVE-2024-38366

Cocoapods Trunk.cocoapods.org vulnerability

10.0 CRITICALEPSS 17.8%
  1. Published1 Jul 2024

Description

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.

CVSS 3.1 breakdown

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected products

Cocoapods Trunk.cocoapods.org< 2023-09-22

Remediation

Fixed in
Cocoapods Trunk.cocoapods.org≥ 2023-09-22

Frequently asked

Is CVE-2024-38366 being actively exploited?

CVE-2024-38366 is not in the CISA KEV catalog. Its EPSS exploit probability is 17.8%.

How severe is CVE-2024-38366?

CVE-2024-38366 has a CVSS 3.1 base score of 10.0, rated critical. EPSS estimates a 17.8% probability of exploitation.

Which products are affected by CVE-2024-38366?

Affected products include Cocoapods Trunk.cocoapods.org.

How do I fix CVE-2024-38366?

Upgrade affected software to a fixed version, for example Cocoapods Trunk.cocoapods.org 2023-09-22 or later, then confirm no affected versions remain in your inventory.

How Secuno handles this

Secuno correlates vulnerabilities like CVE-2024-38366 against the real software inventory on every managed device, every day. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.