CVEfocus › CVE database › CVE-2021-45261

CVE-2021-45261

CVSS 5.5 MediumEPSS 0.8% (higher than 51% of CVEs)Published 2021-12-22Updated 2024-08-04Assigner: mitre

An Invalid Pointer vulnerability exists in GNU patch 2.7 via the another_hunk function, which causes a Denial of Service.

What to do

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fix pending
3Under investigation
8Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10patchFix pendingUBUNTU-CVE-2021-45261
Ubuntu 26.04patchUnder investigationUBUNTU-CVE-2021-45261
Ubuntu 25.10patchWill not fix
negligible security impact since it affects the CLI tool with a specific malformed patch file.
UBUNTU-CVE-2021-45261
Ubuntu 24.04patchUnder investigationUBUNTU-CVE-2021-45261
Ubuntu 22.04patchUnder investigationUBUNTU-CVE-2021-45261
Ubuntu 20.04patchWill not fix
negligible security impact since it affects the CLI tool with a specific malformed patch file.
UBUNTU-CVE-2021-45261
Ubuntu 18.04patchWill not fix
negligible security impact since it affects the CLI tool with a specific malformed patch file.
UBUNTU-CVE-2021-45261
Ubuntu 16.04patchWill not fix
negligible security impact since it affects the CLI tool with a specific malformed patch file.
UBUNTU-CVE-2021-45261
Ubuntu 14.04patchFix pendingUBUNTU-CVE-2021-45261
Debian 14patchWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2021-45261
Debian 13patchWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2021-45261
Debian 12patchWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2021-45261
Red Hat Enterprise Linux 9patchFix pending
Fix deferred
Red Hat Enterprise Linux 8patchFix pending
Fix deferred
Red Hat Enterprise Linux 7patchWill not fix
Out of support scope
Red Hat Enterprise Linux 6patchNot affected

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.