127 lines
5.2 KiB
JSON
127 lines
5.2 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.1",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2025-3262",
|
|
"assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "@huntr_ai",
|
|
"dateReserved": "2025-04-04T12:40:28.677Z",
|
|
"datePublished": "2025-07-07T09:54:39.079Z",
|
|
"dateUpdated": "2025-07-07T15:19:42.413Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"title": "Regular Expression Denial of Service (ReDoS) in huggingface/transformers",
|
|
"providerMetadata": {
|
|
"orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
|
|
"shortName": "@huntr_ai",
|
|
"dateUpdated": "2025-07-07T09:54:39.079Z"
|
|
},
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the huggingface/transformers repository, specifically in version 4.49.0. The vulnerability is due to inefficient regular expression complexity in the `SETTING_RE` variable within the `transformers/commands/chat.py` file. The regex contains repetition groups and non-optimized quantifiers, leading to exponential backtracking when processing 'almost matching' payloads. This can degrade application performance and potentially result in a denial-of-service (DoS) when handling specially crafted input strings. The issue is fixed in version 4.51.0."
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"vendor": "huggingface",
|
|
"product": "huggingface/transformers",
|
|
"versions": [
|
|
{
|
|
"version": "unspecified",
|
|
"lessThan": "4.51.0",
|
|
"status": "affected",
|
|
"versionType": "custom"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://huntr.com/bounties/ecf5ccc4-39e7-4fb3-b547-14a41d31a184"
|
|
},
|
|
{
|
|
"url": "https://github.com/huggingface/transformers/commit/0720e206c6ba28887e4d60ef60a6a089f6c1cc76"
|
|
}
|
|
],
|
|
"metrics": [
|
|
{
|
|
"cvssV3_0": {
|
|
"version": "3.0",
|
|
"attackComplexity": "LOW",
|
|
"attackVector": "NETWORK",
|
|
"availabilityImpact": "LOW",
|
|
"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:L",
|
|
"baseScore": 5.3,
|
|
"baseSeverity": "MEDIUM"
|
|
}
|
|
}
|
|
],
|
|
"problemTypes": [
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"type": "CWE",
|
|
"lang": "en",
|
|
"description": "CWE-1333 Inefficient Regular Expression Complexity",
|
|
"cweId": "CWE-1333"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"advisory": "ecf5ccc4-39e7-4fb3-b547-14a41d31a184",
|
|
"discovery": "EXTERNAL"
|
|
}
|
|
},
|
|
"adp": [
|
|
{
|
|
"references": [
|
|
{
|
|
"url": "https://huntr.com/bounties/ecf5ccc4-39e7-4fb3-b547-14a41d31a184",
|
|
"tags": [
|
|
"exploit"
|
|
]
|
|
}
|
|
],
|
|
"metrics": [
|
|
{
|
|
"other": {
|
|
"type": "ssvc",
|
|
"content": {
|
|
"timestamp": "2025-07-07T15:19:35.031775Z",
|
|
"id": "CVE-2025-3262",
|
|
"options": [
|
|
{
|
|
"Exploitation": "poc"
|
|
},
|
|
{
|
|
"Automatable": "yes"
|
|
},
|
|
{
|
|
"Technical Impact": "partial"
|
|
}
|
|
],
|
|
"role": "CISA Coordinator",
|
|
"version": "2.0.3"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"title": "CISA ADP Vulnrichment",
|
|
"providerMetadata": {
|
|
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
|
|
"shortName": "CISA-ADP",
|
|
"dateUpdated": "2025-07-07T15:19:42.413Z"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |