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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-61584— serverless-dns is vulnerable to Command Injection through pr.yml GitHub Action Workflow

Quick assessment

Affected
serverless-dns serverless-dns
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

serverless-dns是serverless-dns开源的一个DNS解析器。 serverless-dns 0.1.30及之前版本存在命令注入漏洞,该漏洞源于pr.yml GitHub Action以不安全方式插入不受信任的输入,可能导致执行攻击者代码。

AI Predicted 9.8 Difficulty: Easy EPSS 0.34% · P27
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-61584

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
serverless-dns is vulnerable to Command Injection through pr.yml GitHub Action Workflow
Source: CVE Program / CVE List V5
Vulnerability Description
serverless-dns is a RethinkDNS resolver that deploys to Cloudflare Workers, Deno Deploy, Fastly, and Fly.io. Versions through abd including 0.1.30 have a vulnerability where the pr.yml GitHub Action interpolates in an unsafe manner untrusted input, specifically the github.event.pull_request.head.repo.clone_url and github.head_ref, to a command in the runner. Due to the action using the pull_request_target trigger it has permissive permissions by default. An unauthorized attacker can exploit this vulnerability to push arbitrary data to the repository. The subsequent impact on the end-user is executing the attackers' code when running serverless-dns. This is fixed in commit c5537dd, and expected to be released in 0.1.31.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Source: CVE Program / CVE List V5
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
serverless-dns 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
serverless-dns是serverless-dns开源的一个DNS解析器。 serverless-dns 0.1.30及之前版本存在命令注入漏洞,该漏洞源于pr.yml GitHub Action以不安全方式插入不受信任的输入,可能导致执行攻击者代码。
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)

Affected Products

Vendor Product Affected Versions CPE Subscribe
serverless-dns serverless-dns < 0.1.31 -

II. Public POCs for CVE-2025-61584

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-61584

登录查看更多情报信息。

Vendor Advisories for CVE-2025-61584 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-61584

No comments yet


Leave a comment