CVE-2015-10085: GoPistolet vulnerable to Improper Resource Shutdown or Release
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.12588%
CWE
Published
2/21/2023
Updated
10/20/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/gopistolet/gopistolet | go | < 0.0.0-20210418093520-a5395f728f8d | 0.0.0-20210418093520-a5395f728f8d |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key issues: 1) The GetCmd function in smtp/protocol.go lacked proper input validation (MAX_CMD_LINE checks) and error handling, as evidenced by the patch adding ReadUntil with length limits. 2) The HandleClient loop in mta/mta.go used fragile boolean checks instead of proper error handling, as shown by the patch replacing 'ok' with error propagation. The combination could allow attackers to exhaust resources through long/unterminated commands that kept connections open without proper cleanup.