CVE-2023-29406
golang: net/http: insufficient sanitization of Host header
Overview
Description
The HTTP/1 client does not fully validate the contents of the Host header. A maliciously crafted Host header can inject additional headers or entire requests. With fix, the HTTP/1 client now refuses to send requests containing an invalid Request.Host or Request.URL.Host value.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness: CWE-436
Affected packages · 2
Operating systems · 212 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | golang | 0:1.20.7-1.azl3 |
Oracle Linux 2 releases · 18 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | udica | 0.2.6-20.module+el8.9.0+90021+ce997450 |
| 8 | fuse-overlayfs | 1.12-1.module+el8.9.0+90021+ce997450 |
| 8 | slirp4netns | 1.2.1-1.module+el8.9.0+90021+ce997450 |
| 8 | oci-seccomp-bpf-hook | 1.2.9-1.module+el8.9.0+90021+ce997450 |
| 8 | crun | 1.8.7-1.module+el8.9.0+90086+8f2d6fb1 |
| 8 | runc | 1:1.1.9-1.module+el8.9.0+90021+ce997450 |
16 more rows
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | go | 1.20.8-1.ph4 |
| 5.0 | go | 1.20.7-1.ph5 |
Red Hat 7 releases · 32 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| go-toolset-7-golang +3 | wont fix | — | |
| 7 | openshift +2 | affected | — |
| 7 | golang +2 | wont fix | — |
| 8 | osbuild-composer +3 | wont fix | — |
| 8 | cri-o | 0:1.27.1-13.1.rhaos4.14.git956c5f7.el8 | RHSA-2023:6840 |
| 8 | python3-octavia-tests-tempest +1 | 0:1.4.1-2.20230111145026.f7718ef.el8ost | RHSA-2023:5965 |
75 more rows
SUSE Linux Enterprise 2 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | go1-19 +2 | 1.19.11-150000.1.37.1 | SUSE-SU-2023:2845-1 |
| 15.4 | go1-19-openssl +2 | 1.19.13.1-150000.1.8.1 | SUSE-SU-2023:3841-1 |
| 15.4 | go1-20 +2 | 1.20.6-150000.1.17.1 | SUSE-SU-2023:2846-1 |
| 15.4 | go1-20-openssl +2 | 1.20.6.1-150000.1.8.1 | SUSE-SU-2023:3002-1 |
| 15.5 | go1-19 +2 | 1.19.11-150000.1.37.1 | SUSE-SU-2023:2845-1 |
| 15.5 | go1-19-openssl +2 | 1.19.13.1-150000.1.8.1 | SUSE-SU-2023:3841-1 |
2 more rows
alma 3 releases · 20 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (container-tools:4.0) | toolbox +1 | 0.0.99.4-5.module_el8.9.0+3627+db8ec155 |
| 8 (container-tools:4.0) | udica | 0.2.6-4.module_el8.9.0+3627+db8ec155 |
| 8 (container-tools:4.0) | slirp4netns | 1.1.8-3.module_el8.9.0+3627+db8ec155 |
| 8 (container-tools:4.0) | oci-seccomp-bpf-hook | 1.2.5-2.module_el8.8.0+3468+16b86c82 |
| 8 (container-tools:4.0) | crun | 1.8.7-1.module_el8.9.0+3683+33eb0feb |
| 8 (container-tools:4.0) | fuse-overlayfs | 1.9-2.module_el8.9.0+3627+db8ec155 |
38 more rows
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.20.6-r0 |
| 3.23 | go | 1.20.6-r0 |
| 3.24 | go | 1.20.6-r0 |
| edge | go | 1.20.6-r0 |
amazon linux 1 release · 10 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | oci-add-hooks +2 | 0-0.1.20200504git268e3bb.amzn2023.0.1 |
| 2023 | amazon-ecr-credential-helper | 0.7.1-2.amzn2023 |
| 2023 | nerdctl | 1.1.0-1.amzn2023.0.2 |
| 2023 | runc +2 | 1.1.7-1.amzn2023.0.2 |
| 2023 | cni-plugins +2 | 1.2.0-1.amzn2023.0.2 |
| 2023 | golang +6 | 1.20.6-1.amzn2023.0.1 |
4 more rows
chainguard 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-katib | 0.19.0-r40 | |
| kind | 0.21.0-r0 | |
| go-1-20 | 1.20.6-r0 |
debian 3 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-1-11 | affected |
| 11 | golang-1-15 | affected |
| 12 | golang-1-19 | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 | affected |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| trigger-dev | 4.5.11-r1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-19 +3 | 1.19.11-1.1 | openSUSE-SU-2024:13046-1 |
| Tumbleweed | go1-20 +3 | 1.20.6-1.1 | openSUSE-SU-2024:13074-1 |
rocky 1 release · 19 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (container-tools:4.0) | toolbox +1 | 0.0.99.4-5.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | udica | 0.2.6-4.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | slirp4netns | 1.1.8-3.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | oci-seccomp-bpf-hook | 1.2.5-2.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | crun | 1.8.3-1.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | crun | 1.8.7-1.module+el8.9.0+1580+e76741f0 |
15 more rows
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-golang-1-19 | affected |
ubuntu 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | golang-1-18 | 1.18.1-1ubuntu1~18.04.4+esm1 |
| 20.04 | golang-1-18 | 1.18.1-1ubuntu1~20.04.3 |
| 20.04-ESM | golang-1-18 | 1.18.1-1ubuntu1~20.04.3 |
| 22.04 | golang-1-17 | 1.17.13-3ubuntu1.2 |
| 22.04 | golang-1-18 | 1.18.1-1ubuntu1.2 |
wolfi 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-katib | 0.19.0-r40 | |
| kind | 0.21.0-r0 | |
| go-1-20 | 1.20.6-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:6474
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:7202
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-29406
- bugzilla.redhat.com https://bugzilla.redhat.com/2174485
- bugzilla.redhat.com https://bugzilla.redhat.com/2178358
- bugzilla.redhat.com https://bugzilla.redhat.com/2178488
- bugzilla.redhat.com https://bugzilla.redhat.com/2178492
- bugzilla.redhat.com https://bugzilla.redhat.com/2184481
- bugzilla.redhat.com https://bugzilla.redhat.com/2184482
- bugzilla.redhat.com https://bugzilla.redhat.com/2184483
Show all 37 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2184484
- bugzilla.redhat.com https://bugzilla.redhat.com/2196026
- bugzilla.redhat.com https://bugzilla.redhat.com/2196027
- bugzilla.redhat.com https://bugzilla.redhat.com/2196029
- bugzilla.redhat.com https://bugzilla.redhat.com/2222167
- bugzilla.redhat.com https://bugzilla.redhat.com/2228689
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2222167
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2242871
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29406
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2023-6474.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2023:7202
- github.com https://github.com/golang/go/commit/312920c00aac9897b2a0693e752390b5b0711a5a (go1.20.6)
- github.com https://github.com/golang/go/commit/5fa6923b1ea891400153d04ddf1545e23b40041b (go1.19.11)
- github.com https://github.com/golang/go/issues/60374
- go.dev https://go.dev/cl/506996
- go.dev https://go.dev/issue/60374
- groups.google.com https://groups.google.com/g/golang-announce/c/2q13H6LEEx0
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-29406.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-7202.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-29406
- pkg.go.dev https://pkg.go.dev/vuln/GO-2023-1878
- security.gentoo.org https://security.gentoo.org/glsa/202311-09
- security.netapp.com https://security.netapp.com/advisory/ntap-20230814-0002/
- ubuntu.com https://ubuntu.com/security/notices/USN-7061-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7109-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-29406
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.