Security mailing lists by PureSourceCode

CVE-2024-45258

CRITICAL 9.8CVSS 3.1

req may send an unintended request when a malformed URL is provided

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.

Published
25 Aug 2024
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Deferred
Weakness
CWE-20CWE-918CWE-94
Also known as
GHSA-cj55-gc7m-wvcqGO-2024-3098
Sources
NVDJSONOSV GHSA-cj55-gc7m-wvcqJSONOSV GO-2024-3098JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/imroc/req/v3 < 3.43.4 3.43.4
OSV Go github.com/imroc/req < 3.43.4 3.43.4
OSV Go github.com/imroc/req/v2 < 3.43.4 3.43.4
OSV Go github.com/imroc/req all versions
OSV Go github.com/imroc/req/v2 all versions

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 25 Aug 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Sep 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 Aug 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.