{ "dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": { "cveId": "CVE-2025-46816", "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "state": "PUBLISHED", "assignerShortName": "GitHub_M", "dateReserved": "2025-04-30T19:41:58.133Z", "datePublished": "2025-05-06T18:41:58.035Z", "dateUpdated": "2025-05-06T19:23:18.087Z" }, "containers": { "cna": { "title": "goshs route not protected, allows command execution", "problemTypes": [ { "descriptions": [ { "cweId": "CWE-284", "lang": "en", "description": "CWE-284: Improper Access Control", "type": "CWE" } ] }, { "descriptions": [ { "cweId": "CWE-77", "lang": "en", "description": "CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')", "type": "CWE" } ] } ], "metrics": [ { "cvssV3_0": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "LOW", "baseScore": 9.4, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L", "version": "3.0" } } ], "references": [ { "name": "https://github.com/patrickhener/goshs/security/advisories/GHSA-rwj2-w85g-5cmm", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/patrickhener/goshs/security/advisories/GHSA-rwj2-w85g-5cmm" }, { "name": "https://github.com/patrickhener/goshs/commit/160220974576afe5111485b8d12fd36058984cfa", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/patrickhener/goshs/commit/160220974576afe5111485b8d12fd36058984cfa" } ], "affected": [ { "vendor": "patrickhener", "product": "goshs", "versions": [ { "version": ">= 0.3.4, < 1.0.5", "status": "affected" } ] } ], "providerMetadata": { "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M", "dateUpdated": "2025-05-06T18:41:58.035Z" }, "descriptions": [ { "lang": "en", "value": "goshs is a SimpleHTTPServer written in Go. Starting in version 0.3.4 and prior to version 1.0.5, running goshs without arguments makes it possible for anyone to execute commands on the server. The function `dispatchReadPump` does not checks the option cli `-c`, thus allowing anyone to execute arbitrary command through the use of websockets. Version 1.0.5 fixes the issue." } ], "source": { "advisory": "GHSA-rwj2-w85g-5cmm", "discovery": "UNKNOWN" } }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2025-05-06T19:18:18.182995Z", "id": "CVE-2025-46816", "options": [ { "Exploitation": "poc" }, { "Automatable": "yes" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2025-05-06T19:23:18.087Z" } } ] } }