CVE-2024-45258 req may send an unintended request when a malformed URL is provided
CriticalCVSS 9.8
EPSS 0.72%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| imroc github.com/imroc/req/v3(Go) | < 3.43.4; All versions | 3.43.4 | Partially fixed |
| imroc github.com/imroc/req/v3 | < 3.43.4 | 3.43.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| imroc github.com/imroc/req/v3(Go) | < 3.43.4 | 3.43.4 |
| imroc github.com/imroc/req/v3(Go) | All versions | No fix listed |
| imroc github.com/imroc/req/v3 | < 3.43.4 | 3.43.4 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- github.com
- pkg.go.dev
- github.com vendor-advisory