2023-04-24 12:24:31 +02:00
{
"id" : "CVE-2023-30608" ,
"sourceIdentifier" : "security-advisories@github.com" ,
"published" : "2023-04-18T22:15:08.267" ,
2023-06-14 20:00:32 +00:00
"lastModified" : "2023-06-14T18:14:15.733" ,
"vulnStatus" : "Analyzed" ,
2024-07-14 02:06:08 +00:00
"cveTags" : [ ] ,
2023-04-24 12:24:31 +02:00
"descriptions" : [
{
"lang" : "en" ,
"value" : "sqlparse is a non-validating SQL parser module for Python. In affected versions the SQL parser contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service). This issue was introduced by commit `e75e358`. The vulnerability may lead to Denial of Service (DoS). This issues has been fixed in sqlparse 0.4.4 by commit `c457abd5f`. Users are advised to upgrade. There are no known workarounds for this issue.\n"
}
] ,
"metrics" : {
"cvssMetricV31" : [
2023-04-28 06:00:35 +02:00
{
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
"cvssData" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" ,
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "NONE" ,
"integrityImpact" : "NONE" ,
"availabilityImpact" : "HIGH" ,
"baseScore" : 7.5 ,
"baseSeverity" : "HIGH"
} ,
"exploitabilityScore" : 3.9 ,
"impactScore" : 3.6
} ,
2023-04-24 12:24:31 +02:00
{
"source" : "security-advisories@github.com" ,
"type" : "Secondary" ,
"cvssData" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H" ,
"attackVector" : "LOCAL" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "REQUIRED" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "NONE" ,
"integrityImpact" : "NONE" ,
"availabilityImpact" : "HIGH" ,
"baseScore" : 5.5 ,
"baseSeverity" : "MEDIUM"
} ,
"exploitabilityScore" : 1.8 ,
"impactScore" : 3.6
}
]
} ,
"weaknesses" : [
{
2023-06-14 20:00:32 +00:00
"source" : "nvd@nist.gov" ,
2023-04-24 12:24:31 +02:00
"type" : "Primary" ,
"description" : [
{
"lang" : "en" ,
"value" : "CWE-1333"
}
]
2023-06-14 20:00:32 +00:00
} ,
{
"source" : "security-advisories@github.com" ,
"type" : "Secondary" ,
"description" : [
{
"lang" : "en" ,
"value" : "CWE-1333"
}
]
2023-04-24 12:24:31 +02:00
}
] ,
2023-04-28 06:00:35 +02:00
"configurations" : [
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:sqlparse_project:sqlparse:*:*:*:*:*:python:*:*" ,
"versionStartIncluding" : "0.1.15" ,
2023-06-14 20:00:32 +00:00
"versionEndExcluding" : "0.4.4" ,
"matchCriteriaId" : "EF2A5C27-B4D8-494B-B864-F00E0002B511"
}
]
}
]
} ,
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*" ,
"matchCriteriaId" : "07B237A9-69A3-4A9C-9DA0-4E06BD37AE73"
2023-04-28 06:00:35 +02:00
}
]
}
]
}
] ,
2023-04-24 12:24:31 +02:00
"references" : [
{
"url" : "https://github.com/andialbrecht/sqlparse/commit/c457abd5f097dd13fb21543381e7cfafe7d31cfb" ,
2023-04-28 06:00:35 +02:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Patch"
]
2023-04-24 12:24:31 +02:00
} ,
{
"url" : "https://github.com/andialbrecht/sqlparse/commit/e75e35869473832a1eb67772b1adfee2db11b85a" ,
2023-04-28 06:00:35 +02:00
"source" : "security-advisories@github.com" ,
"tags" : [
2023-06-14 20:00:32 +00:00
"Patch"
2023-04-28 06:00:35 +02:00
]
2023-04-24 12:24:31 +02:00
} ,
{
"url" : "https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2" ,
2023-04-28 06:00:35 +02:00
"source" : "security-advisories@github.com" ,
"tags" : [
2023-06-14 20:00:32 +00:00
"Patch" ,
2023-04-28 06:00:35 +02:00
"Vendor Advisory"
]
2023-04-24 12:24:31 +02:00
} ,
2023-05-16 18:00:29 +02:00
{
"url" : "https://lists.debian.org/debian-lts-announce/2023/05/msg00017.html" ,
2023-06-14 20:00:32 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Mailing List" ,
"Third Party Advisory"
]
2023-05-16 18:00:29 +02:00
} ,
2023-04-24 12:24:31 +02:00
{
"url" : "https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS" ,
2023-04-28 06:00:35 +02:00
"source" : "security-advisories@github.com" ,
"tags" : [
2023-06-14 20:00:32 +00:00
"Technical Description"
2023-04-28 06:00:35 +02:00
]
2023-04-24 12:24:31 +02:00
}
]
}