CVE-2024-45258
Critical
Description
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.
SeverityCritical
CVSS9.8
Exploit probability—
ProductGithub.com/imroc/req/v3
PublishedAug 25, 2024
First seenAug 25, 2024
Weakness typeCWE-20Improper input validation
How to fix
Update
- github.com/imroc/req/v33.43.4 or later
- github.com/imroc/req3.43.4 or later
- github.com/imroc/req/v23.43.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/imroc/req/v3Go | v < 3.43.4 | 3.43.4 |
| github.com/imroc/reqGo | v < 3.43.4, No range specified | 3.43.4 |
| github.com/imroc/req/v2Go | v < 3.43.4, No range specified | 3.43.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.