{"id":"CVE-2024-45258","published":"2024-08-25T00:00:00Z","modified":"2024-08-26T13:25:02Z","title":"The req package before 3.43.4 for Go may send an unintended request when a malformed URL is provided, because…","vendor":null,"product":null,"tier":"tail","description":{"text":"The req package before 3.43.4 for Go may send an unintended request when a malformed URL is provided, because cleanHost in http.go intentionally uses a \"garbage in, garbage out\" design.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00724,"percentile":0.54987,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/imroc/req/commit/04e3ece5b380ecad9da3551c449f1b8a9aa76d3d","tags":[]},{"url":"https://github.com/imroc/req/compare/v3.43.3...v3.43.4","tags":[]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":11.0},{"name":"CVSS severity","points":6.86}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-08-26T13:20:09.641215Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/imroc/req/v3","vulnerableRanges":["<3.43.4"],"patched":["3.43.4"],"from":["GHSA-cj55-gc7m-wvcq","GO-2024-3098"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/imroc/req","vulnerableRanges":["<3.43.4","all versions"],"patched":["3.43.4"],"from":["GHSA-cj55-gc7m-wvcq","GO-2024-3098"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/imroc/req/v2","vulnerableRanges":["<3.43.4","all versions"],"patched":["3.43.4"],"from":["GHSA-cj55-gc7m-wvcq","GO-2024-3098"],"provenance":"source"}],"summary":{"text":"The req package for Go, before version 3.43.4, has a flaw in its cleanHost function in http.go, which intentionally accepts malformed input under a \"garbage in, garbage out\" design, so a malformed URL can cause it to send a request the caller did not intend. Per the supplied attack vector, this is reachable over the network with no privileges and no user interaction, and the only condition needed is that the application passes an attacker-influenced malformed URL to the library.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:33Z"},"euvd":{"id":"EUVD-2024-2561","exploited":false,"provenance":"source"}}