CVEfocus › CVE database › CVE-2021-29923

CVE-2021-29923

CVSS 7.5 HighEPSS 3.7% (higher than 91% of CVEs)Published 2021-08-07Updated 2024-08-03Assigner: mitre

Go before 1.17 does not properly consider extraneous zero characters at the beginning of an IP address octet, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation. This affects net.ParseIP and net.ParseCIDR.

What to do

Fixed builds are available from Alpine, Red Hat, Rocky Linux: see the table below for the fixed version per release.

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

22Fixed
17Fix pending
9Will not fix
8Not 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 22.04golang-1.13Fix pendingUBUNTU-CVE-2021-29923
Ubuntu 20.04golang-1.13Fix pendingUBUNTU-CVE-2021-29923
Ubuntu 20.04golang-1.14Fix pendingUBUNTU-CVE-2021-29923
Ubuntu 20.04golang-1.16Fix pendingUBUNTU-CVE-2021-29923
Ubuntu 18.04golang-1.10Fix pendingUBUNTU-CVE-2021-29923
Ubuntu 18.04golang-1.13Fix pendingUBUNTU-CVE-2021-29923
Ubuntu 18.04golang-1.16Fix pendingUBUNTU-CVE-2021-29923
Ubuntu 18.04golang-1.8Fix pendingUBUNTU-CVE-2021-29923
Ubuntu 18.04golang-1.9Fix pendingUBUNTU-CVE-2021-29923
Ubuntu 16.04golang-1.10Fix pendingUBUNTU-CVE-2021-29923
Ubuntu 16.04golang-1.13Fix pendingUBUNTU-CVE-2021-29923
Ubuntu 16.04golang-1.6Fix pendingUBUNTU-CVE-2021-29923
Ubuntu 14.04golangFix pending
Ubuntu 14.04golang-1.10Fix pendingUBUNTU-CVE-2021-29923
Ubuntu 14.04golang-1.6Fix pending
Red Hat Enterprise Linux 9buildahFix pending
Affected
Red Hat Enterprise Linux 9buildah-testsFix pending
Affected
Red Hat Enterprise Linux 9go-toolsetNot affected
Red Hat Enterprise Linux 9golangNot affected
Red Hat Enterprise Linux 9golang-binNot affected
Red Hat Enterprise Linux 9golang-docsNot affected
Red Hat Enterprise Linux 9golang-miscNot affected
Red Hat Enterprise Linux 9golang-raceNot affected
Red Hat Enterprise Linux 9golang-srcNot affected
Red Hat Enterprise Linux 9golang-testsNot affected
Red Hat Enterprise Linux 8buildahWill not fix
Will not fix
Red Hat Enterprise Linux 8buildah-testsWill not fix
Will not fix
Red Hat Enterprise Linux 8delveFixed0:1.5.0-2.module+el8.4.0+8864+58b0fcdbRHSA-2021:3585
Red Hat Enterprise Linux 8go-toolsetFixed0:1.15.14-2.module+el8.4.0+12542+e3fec473RHSA-2021:3585
Red Hat Enterprise Linux 8golangFixed0:1.15.14-2.module+el8.4.0+12542+e3fec473RHSA-2021:3585
Red Hat Enterprise Linux 8golang-binFixed0:1.15.14-2.module+el8.4.0+12542+e3fec473RHSA-2021:3585
Red Hat Enterprise Linux 8golang-docsFixed0:1.15.14-2.module+el8.4.0+12542+e3fec473RHSA-2021:3585
Red Hat Enterprise Linux 8golang-miscFixed0:1.15.14-2.module+el8.4.0+12542+e3fec473RHSA-2021:3585
Red Hat Enterprise Linux 8golang-raceFixed0:1.15.14-2.module+el8.4.0+12542+e3fec473RHSA-2021:3585
Red Hat Enterprise Linux 8golang-srcFixed0:1.15.14-2.module+el8.4.0+12542+e3fec473RHSA-2021:3585
Red Hat Enterprise Linux 8golang-testsFixed0:1.15.14-2.module+el8.4.0+12542+e3fec473RHSA-2021:3585
Red Hat Enterprise Linux 7buildahWill not fix
Out of support scope
Red Hat Enterprise Linux 7golangWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-binWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-docsWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-miscWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-srcWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-testsWill not fix
Out of support scope
Rocky Linux 8delveFixed0:1.5.0-2.module+el8.4.0+396+d2d16ae3RLSA-2021:3585
Rocky Linux 8go-toolsetFixed0:1.15.14-2.module+el8.4.0+646+fc1a61b2RLSA-2021:3585
Rocky Linux 8golangFixed0:1.15.14-2.module+el8.4.0+646+fc1a61b2RLSA-2021:3585
Alpine Linux 3.24goFixed1.17-r0ALPINE-CVE-2021-29923
Alpine Linux 3.23goFixed1.17-r0ALPINE-CVE-2021-29923
Alpine Linux 3.22goFixed1.17-r0ALPINE-CVE-2021-29923
Alpine Linux 3.21goFixed1.17-r0ALPINE-CVE-2021-29923
Alpine Linux 3.20goFixed1.17-r0ALPINE-CVE-2021-29923
Alpine Linux 3.19goFixed1.17-r0ALPINE-CVE-2021-29923
Alpine Linux 3.18goFixed1.17-r0ALPINE-CVE-2021-29923
Alpine Linux 3.17goFixed1.17-r0ALPINE-CVE-2021-29923
Alpine Linux 3.16goFixed1.17-r0ALPINE-CVE-2021-29923
Alpine Linux 3.15goFixed1.17-r0ALPINE-CVE-2021-29923

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

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.