Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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