CVE-2024-4340
HIGH7.5EPSS 10.9%sqlparse parsing heavily nested list leads to Denial of Service
發布日:2024/4/15修改日:2026/4/28
描述
Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.
受影響套件(2)
- Debian/sqlparsefrom 0, < 0.4.1-1+deb11u1
- PyPI/sqlparsefrom 0, < 0.5.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-4340
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-4340
- PATCHhttps://github.com/andialbrecht/sqlparse
- WEBhttps://github.com/andialbrecht/sqlparse/commit/b4a39d9850969b4e1d6940d32094ee0b42a2cf03
- WEBhttps://github.com/andialbrecht/sqlparse/security/advisories/GHSA-2m57-hf25-phgg
- WEBhttps://research.jfrog.com/vulnerabilities/sqlparse-stack-exhaustion-dos-jfsa-2024-001031292