cve.bz

CVE-2021-31879 Open Redirect

6.1 mediumEPSS 1.1%

Medium (6.1). EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 66th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-601 URL Redirection to Untrusted Site (Open Redirect)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-31879 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-31879?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-31879?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-31879 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2021-31879

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-31879](https://cve.bz/cve/badge/CVE-2021-31879.svg)](https://cve.bz/cve/CVE-2021-31879)

HTML:

<a href="https://cve.bz/cve/CVE-2021-31879"><img src="https://cve.bz/cve/badge/CVE-2021-31879.svg" alt="CVE-2021-31879"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:wgetthrough 1.21.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14wgetno fix listedDEBIAN-CVE-2021-31879
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 6 morewgetno fix listedUBUNTU-CVE-2021-31879
SUSELinux Enterprise Micro 5.5wget1.20.3-150000.3.29.1SUSE-SU-2025:0366-1
SUSELinux Enterprise Module for Basesystem 15 SP6wget1.20.3-150600.19.12.1SUSE-SU-2025:0425-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5wget1.14-21.22.1SUSE-SU-2025:0380-1
openSUSELeap 15.6wget1.20.3-150600.19.12.1SUSE-SU-2025:0425-1
Azure Linux2wget1.21.2-1AZL-6957

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Use `--max-redirect 0` when the request contains Authorization header to prevent wget to redirect the request.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6wgetOut of support scope
Red Hat Enterprise Linux 7wgetOut of support scope
Red Hat Enterprise Linux 8wgetAffected
Red Hat Enterprise Linux 9wgetAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-31879.

Attack patterns (CAPEC)

  • CAPEC-178 Cross-Site Flashing Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON