Skip to content
OpenAdvisories
Unscored CVE-2021-29923 EUVD-2021-16397GHSA-38h6-vxp4-qxvm

Go before 1.17 does not properly consider extraneous zero characters at the beginning of an IP address octet, which (in some situations) al…

Published Aug 7, 2021 · Updated Aug 3, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 golang-1.15 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS golang-1.13 +1 No fix yet —
Ubuntu 18.04 LTS golang-1.8 +2 No fix yet —
Ubuntu 16.04 LTS golang-1.6 +1 No fix yet —
Ubuntu 14.04 LTS golang-1.10 No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS golang-1.13 No fix yet —
Ubuntu Pro 20.04 LTS golang-1.16 No fix yet —
Ubuntu Pro 18.04 LTS golang-1.13 +1 No fix yet —
Ubuntu Pro 16.04 LTS golang-1.13 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 delve 1.5.0-2.module+el8.4.0+8864+58b0fcdb RHSA-2021:3585
RHEL 8 golang +7 1.15.14-2.module+el8.4.0+12542+e3fec473 RHSA-2021:3585
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Service Mesh 2 kiali v1.24.7.redhat1-1.el8 RHSA-2022:1276
Red Hat Service Mesh 2 servicemesh +6 2.0.9-3.el8 RHSA-2022:1276
Red Hat Service Mesh 2 servicemesh-prometheus 2.14.0-16.el8.1 RHSA-2022:1276
Red Hat Serverless 1 openshift-serverless-clients 0.26.0-2.el8 RHSA-2022:0432
Red Hat OpenStack 16 etcd 3.3.23-7.el8ost RHSA-2022:0260, RHSA-2022:0237
Red Hat OpenStack 16 golang-github-vbatts-tar-split 0.11.1-6.el8ost RHSA-2022:0998, RHSA-2022:0988
Red Hat OpenStack 16 golang-qpid-apache 0.32.0-rc1.9.el8ost RHSA-2022:0997, RHSA-2022:0989
Red Hat OpenShift 4 butane +1 0.13.1-2.rhaos4.9.el8 RHSA-2022:0557
Red Hat OpenShift 4 cri-o 1.22.1-17.rhaos4.9.git3029b1d.el7 RHSA-2022:0557
Red Hat OpenShift 4 cri-tools 1.22.0-2.el8 RHSA-2022:0557
Red Hat OpenShift 4 ignition +1 2.12.0-3.rhaos4.9.el8 RHSA-2022:0557
Red Hat OpenShift 4 openshift +1 4.9.0-202202111950.p0.gb93fd35.assembly.stream.el7 RHSA-2022:0557
Red Hat OpenShift 4 openshift-clients +1 4.9.0-202202140924.p0.g340e212.assembly.stream.el7 RHSA-2022:0557
Red Hat OpenShift 4 prometheus-promu +1 0.5.0-5.git642a960.el8 RHSA-2022:0557
Red Hat Devtools 2021 go-toolset-1.15-golang +6 1.15.14-2.el7_9 RHSA-2021:3431
Red Hat Container Native Virtualization 4 kubevirt +2 4.8.3-251.el7 RHSA-2021:4910
Red Hat Container Native Virtualization 2 kubevirt +2 2.6.8-211.el7 RHSA-2021:4722

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 delve 1.5.0-2.module+el8.4.0+396+d2d16ae3 RLSA-2021:3585
Rocky Linux 8 golang +1 1.15.14-2.module+el8.4.0+646+fc1a61b2 RLSA-2021:3585
ReleasePackageFixed inAdvisory
Alpine v3.24 go 1.17-r0 —
Alpine v3.23 go 1.17-r0 —
Alpine v3.22 go 1.17-r0 —
Alpine v3.21 go 1.17-r0 —
Alpine v3.20 go 1.17-r0 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 go 1.17-r0 —
Alpine v3.18 go 1.17-r0 —
Alpine v3.17 go 1.17-r0 —
Alpine v3.16 go 1.17-r0 —
Alpine v3.15 go 1.17-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 golang No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 delve 1.5.0-2.0.1.module+el8.4.0+20021+8a86d991 ELSA-2021-3585
Oracle Linux 8 go-toolset 1.15.14-2.module+el8.4.0+20307+d24cc4c6 ELSA-2021-3585
Oracle Linux 8 golang +6 1.15.14-1.module+el8.4.0+20307+d24cc4c6 ELSA-2021-3585

Advisories 19

References