CVE-2021-31879
published 2021-04-29CVE-2021-31879: GNU Wget through 1.21.1 does not omit the Authorization header upon a redirect to a different origin, a related issue to CVE-2018-1000007.
PriorityP423medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
EPSS
1.10%
62.4th percentile
GNU Wget through 1.21.1 does not omit the Authorization header upon a redirect to a different origin, a related issue to CVE-2018-1000007.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | wget | — | — |
| gnu | wget | <= 1.21.1 | — |
| msrc | cbl2_wget_1.21.2-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_wget_1.21.2-1_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.05.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:N
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_msrc6.1MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-78qj-768g-464g: GNU Wget through 1
ghsa_unreviewed·2022-05-24·CVSS 9.8
CVE-2021-31879 [CRITICAL] CWE-601 GHSA-78qj-768g-464g: GNU Wget through 1
GNU Wget through 1.21.1 does not omit the Authorization header upon a redirect to a different origin, a related issue to CVE-2018-1000007.
OSV
CVE-2021-31879: GNU Wget through 1
osv·2021-04-29·CVSS 9.8
CVE-2021-31879 [CRITICAL] CVE-2021-31879: GNU Wget through 1
GNU Wget through 1.21.1 does not omit the Authorization header upon a redirect to a different origin, a related issue to CVE-2018-1000007.
Microsoft
GNU Wget through 1.21.1 does not omit the Authorization header upon a redirect to a different origin a related issue to CVE-2018-1000007.
vendor_msrc·2021-04-13·CVSS 6.1
CVE-2021-31879 [CRITICAL] CWE-601 GNU Wget through 1.21.1 does not omit the Authorization header upon a redirect to a different origin a related issue to CVE-2018-1000007.
GNU Wget through 1.21.1 does not omit the Authorization header upon a redirect to a different origin a related issue to CVE-2018-1000007.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer
Debian
CVE-2021-31879: wget - GNU Wget through 1.21.1 does not omit the Authorization header upon a redirect t...
vendor_debian·2021·CVSS 9.8
CVE-2021-31879 [CRITICAL] CVE-2021-31879: wget - GNU Wget through 1.21.1 does not omit the Authorization header upon a redirect t...
GNU Wget through 1.21.1 does not omit the Authorization header upon a redirect to a different origin, a related issue to CVE-2018-1000007.
Scope: local
bookworm: open
bullseye: open
forky: open
sid: open
trixie: open
Red Hat
wget: authorization header disclosure on redirect
vendor_redhat·2019-10-04·CVSS 9.8
CVE-2021-31879 [CRITICAL] CWE-200 wget: authorization header disclosure on redirect
wget: authorization header disclosure on redirect
GNU Wget through 1.21.1 does not omit the Authorization header upon a redirect to a different origin, a related issue to CVE-2018-1000007.
A flaw was found in wget. If wget sends an Authorization header as part of a query and receives an HTTP REDIRECT to a third party in return, the Authorization header will be forwarded as part of the redirected request. This issue creates a password leak, as the second server receives the password. The highest threat from this vulnerability is confidentiality.
Mitigation: Use `--max-redirect 0` when the request contains Authorization header to prevent wget to redirect the request.
Package: wget (Red Hat Enterprise Linux 6) - Out of support scope
Package: wget (Red Hat Enterprise Linux 7) - Out of sup
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2021-04-29
Published