Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-38366— CoacoaPods trunk RCE in email verification system rfc-822

Quick assessment

Affected
CocoaPods CocoaPods
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

CocoaPods是CocoaPods开源的一个 Cocoa 依赖关系管理器。 CocoaPods存在安全漏洞,该漏洞源于存在远程代码执行漏洞,攻击者利用该漏洞可以获取root访问权限。

CVSS 10.0 · Critical EPSS 17.79% · P97
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-38366

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
CoacoaPods trunk RCE in email verification system rfc-822
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
输出中的特殊元素转义处理不恰当(注入)
Source: CVE Program / CVE List V5
Vulnerability Title
CocoaPods 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
CocoaPods是CocoaPods开源的一个 Cocoa 依赖关系管理器。 CocoaPods存在安全漏洞,该漏洞源于存在远程代码执行漏洞,攻击者利用该漏洞可以获取root访问权限。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
CocoaPods CocoaPods < 001cc3a430e75a16307f5fd6cdff1363ad2f40f3 -

II. Public POCs for CVE-2024-38366

# POC Description Source Link Shenlong Link
1 CocoaPods RCE Vulnerability CVE-2024-38366 https://github.com/ReeFSpeK/CocoaPods-RCE POC Details
2 CocoaPods RCE Vulnerability CVE-2024-38366 https://github.com/ReeFSpeK/CocoaPods-RCE_CVE-2024-38366 POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-38366

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-38366 (1)

Security Blog Posts for CVE-2024-38366 (2)

Same Patch Batch · CocoaPods · 2024-07-01 · 3 CVEs total

CVE-2024-38368 9.3 CRITICAL Trunk's 'Claim your pod' could be used to obtain un-used pods
CVE-2024-38367 8.2 HIGH CoacoaPods trunk sessions verification step could be manipulated for owner session hijacki

IV. Related Vulnerabilities

V. Comments for CVE-2024-38366

No comments yet


Leave a comment