cve-2024-6038
Vulnerability from cvelistv5
Published
2024-06-27 18:41
Modified
2024-08-01 21:25
Severity ?
EPSS score ?
Summary
ReDoS Vulnerability in gaizhenbiao/chuanhuchatgpt
References
Impacted products
▼ | Vendor | Product |
---|---|---|
gaizhenbiao | gaizhenbiao/chuanhuchatgpt |
{ "containers": { "adp": [ { "affected": [ { "cpes": [ "cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:-:*:*:*:*:*:*:*" ], "defaultStatus": "unknown", "product": "chuanhuchatgpt", "vendor": "gaizhenbiao", "versions": [ { "status": "affected", "version": "0" } ] } ], "metrics": [ { "other": { "content": { "id": "CVE-2024-6038", "options": [ { "Exploitation": "poc" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "timestamp": "2024-06-28T15:11:23.458775Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-06-28T15:15:41.733Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" }, { "providerMetadata": { "dateUpdated": "2024-08-01T21:25:03.163Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_transferred" ], "url": "https://huntr.com/bounties/d41cca0a-82bc-4cbf-a52a-928d304fb42d" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "gaizhenbiao/chuanhuchatgpt", "vendor": "gaizhenbiao", "versions": [ { "lessThanOrEqual": "latest", "status": "affected", "version": "unspecified", "versionType": "custom" } ] } ], "descriptions": [ { "lang": "en", "value": "A Regular Expression Denial of Service (ReDoS) vulnerability exists in the latest version of gaizhenbiao/chuanhuchatgpt. The vulnerability is located in the filter_history function within the utils.py module. This function takes a user-provided keyword and attempts to match it against chat history filenames using a regular expression search. Due to the lack of sanitization or validation of the keyword parameter, an attacker can inject a specially crafted regular expression, leading to a denial of service condition. This can cause severe degradation of service performance and potential system unavailability." } ], "metrics": [ { "cvssV3_0": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.0" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-625", "description": "CWE-625 Permissive Regular Expression", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2024-06-27T18:41:45.405Z", "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a", "shortName": "@huntr_ai" }, "references": [ { "url": "https://huntr.com/bounties/d41cca0a-82bc-4cbf-a52a-928d304fb42d" } ], "source": { "advisory": "d41cca0a-82bc-4cbf-a52a-928d304fb42d", "discovery": "EXTERNAL" }, "title": "ReDoS Vulnerability in gaizhenbiao/chuanhuchatgpt" } }, "cveMetadata": { "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a", "assignerShortName": "@huntr_ai", "cveId": "CVE-2024-6038", "datePublished": "2024-06-27T18:41:45.405Z", "dateReserved": "2024-06-15T08:15:24.324Z", "dateUpdated": "2024-08-01T21:25:03.163Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2024-6038\",\"sourceIdentifier\":\"security@huntr.dev\",\"published\":\"2024-06-27T19:15:19.040\",\"lastModified\":\"2024-11-21T09:48:48.207\",\"vulnStatus\":\"Awaiting Analysis\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"A Regular Expression Denial of Service (ReDoS) vulnerability exists in the latest version of gaizhenbiao/chuanhuchatgpt. The vulnerability is located in the filter_history function within the utils.py module. This function takes a user-provided keyword and attempts to match it against chat history filenames using a regular expression search. Due to the lack of sanitization or validation of the keyword parameter, an attacker can inject a specially crafted regular expression, leading to a denial of service condition. This can cause severe degradation of service performance and potential system unavailability.\"},{\"lang\":\"es\",\"value\":\"Existe una vulnerabilidad de denegaci\u00f3n de servicio de expresi\u00f3n regular (ReDoS) en la \u00faltima versi\u00f3n de gaizhenbiao/chuanhuchatgpt. La vulnerabilidad se encuentra en la funci\u00f3n filter_history dentro del m\u00f3dulo utils.py. Esta funci\u00f3n toma una palabra clave proporcionada por el usuario e intenta compararla con los nombres de archivos del historial de chat mediante una b\u00fasqueda de expresi\u00f3n regular. Debido a la falta de sanitizaci\u00f3n o validaci\u00f3n del par\u00e1metro de palabra clave, un atacante puede inyectar una expresi\u00f3n regular especialmente manipulada, lo que lleva a una condici\u00f3n de denegaci\u00f3n de servicio. Esto puede provocar una degradaci\u00f3n grave del rendimiento del servicio y una posible indisponibilidad del sistema.\"}],\"metrics\":{\"cvssMetricV30\":[{\"source\":\"security@huntr.dev\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.0\",\"vectorString\":\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":7.5,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"security@huntr.dev\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-625\"}]}],\"references\":[{\"url\":\"https://huntr.com/bounties/d41cca0a-82bc-4cbf-a52a-928d304fb42d\",\"source\":\"security@huntr.dev\"},{\"url\":\"https://huntr.com/bounties/d41cca0a-82bc-4cbf-a52a-928d304fb42d\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}" } }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.