Vulnerability · Published Aug 25, 2024 · Assigned by mitre

CVE-2024-45258

Critical 9.8

In plain English

A critical-severity improper input validation in the github.com/imroc/req package (Go). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.7%top 45.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/imroc/req3.43.4GHSA-cj55-gc7m-wvcq
Gogithub.com/imroc/reqno fix listedGO-2024-3098
Gogithub.com/imroc/req/v23.43.4GHSA-cj55-gc7m-wvcq
Gogithub.com/imroc/req/v2no fix listedGO-2024-3098
Gogithub.com/imroc/req/v33.43.4GHSA-cj55-gc7m-wvcq
Gogithub.com/imroc/req/v33.43.4GO-2024-3098

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References