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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-24375— MySQL K8s charm could leak credentials for root-level user `serverconfig`

Quick assessment

Affected
canonical mysql-k8s-operator
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.

MySQL K8s operator是Canonical开源的一个在Kubernetes上运行MySQL的字符运算符。 MySQL K8s operator 221之前版本存在安全漏洞,该漏洞源于临时脚本文件权限设置不当,可能导致数据库用户凭据泄露。

CVSS 5.0 · Medium EPSS 0.17% · P5
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-24375

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
MySQL K8s charm could leak credentials for root-level user `serverconfig`
Source: CVE Program / CVE List V5
Vulnerability Description
Charmed MySQL K8s operator is a Charmed Operator for running MySQL on Kubernetes. Before revision 221, the method for calling a SQL DDL or python based mysql-shell scripts can leak database users credentials. The method mysql-operator calls mysql-shell application rely on writing to a temporary script file containing the full URI, with user and password. The file can be read by a unprivileged user during the operator runtime, due it being created with read permissions (0x644). On other cases, when calling mysql cli, for one specific case when creating the operator users, the DDL contains said users credentials, which can be leak through the same mechanism of a temporary file. All versions prior to revision 221 for kubernetes and revision 338 for machine operators.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
明文存储口令
Source: CVE Program / CVE List V5
Vulnerability Title
MySQL K8s operator 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
MySQL K8s operator是Canonical开源的一个在Kubernetes上运行MySQL的字符运算符。 MySQL K8s operator 221之前版本存在安全漏洞,该漏洞源于临时脚本文件权限设置不当,可能导致数据库用户凭据泄露。
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
canonical mysql-k8s-operator < rev221 -

II. Public POCs for CVE-2025-24375

# 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-24375

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

Patches & Fixes for CVE-2025-24375 (1)

Vendor Advisories for CVE-2025-24375 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-24375

No comments yet


Leave a comment