CVE-2022-1996
go-restful: Authorization Bypass Through User-Controlled Key
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Azure Linux, Photon OS. Rated lower by Red Hat (high), Amazon (high).
Description
Authorization Bypass Through User-Controlled Key in GitHub repository emicklei/go-restful prior to v3.8.0.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Azure Linux 3.0 | keda, sriov-network-device-plugin | 0:2.14.0-1.azl3 and 1 more |
| go::GitHub Security Advisory Go | github.com/emicklei/go-restful, github.com/emicklei/go-restful/v2, github.com/emicklei/go-restful/v3 | 2.16.0 and 1 more |
| Photon OS 4.0 | calico, calico-cni, calico-felix and 3 more | 3.26.1-1.ph4 and 1 more |
| Photon OS 5.0 | calico, calico-cni, calico-felix and 3 more | 3.26.1-1.ph5 and 1 more |
| alpine 3.18 | gitlab-runner | 15.10.0-r0 |
| alpine 3.19 | gitlab-runner | 15.10.0-r0 |
| alpine 3.20 | gitlab-runner | 15.10.0-r0 |
| alpine 3.21 | gitlab-runner | 15.10.0-r0 |
| alpine 3.22 | gitlab-runner | 15.10.0-r0 |
| alpine 3.23 | gitlab-runner | 15.10.0-r0 |
| alpine 3.24 | gitlab-runner | 15.10.0-r0 |
| alpine edge | gitlab-runner | 15.10.0-r0 |
Show all 83 entries from 22 sources
| Source | Package | Fixed in |
|---|---|---|
| Azure Linux 3.0 | keda | 0:2.14.0-1.azl3 |
| Azure Linux 3.0 | sriov-network-device-plugin | 0:3.7.0-1.azl3 |
| go::GitHub Security Advisory Go | github.com/emicklei/go-restful | 2.16.0 |
| go::GitHub Security Advisory Go | github.com/emicklei/go-restful/v2 | no fix listed |
| go::GitHub Security Advisory Go | github.com/emicklei/go-restful/v3 | 3.8.0 |
| Photon OS 4.0 | calico | 3.26.1-1.ph4 |
| Photon OS 4.0 | calico-cni | 3.26.1-1.ph4 |
| Photon OS 4.0 | calico-felix | 3.26.1-1.ph4 |
| Photon OS 4.0 | calico-k8s-policy | 3.26.1-1.ph4 |
| Photon OS 4.0 | confd | 3.26.1-1.ph4 |
| Photon OS 4.0 | kubernetes-dashboard | 2.7.0-1.ph4 |
| Photon OS 5.0 | calico | 3.26.1-1.ph5 |
| Photon OS 5.0 | calico-cni | 3.26.1-1.ph5 |
| Photon OS 5.0 | calico-felix | 3.26.1-1.ph5 |
| Photon OS 5.0 | calico-k8s-policy | 3.26.1-1.ph5 |
| Photon OS 5.0 | confd | 3.26.1-1.ph5 |
| Photon OS 5.0 | kapacitor | 1.6.6-1.ph5 |
| alpine 3.18 | gitlab-runner | 15.10.0-r0 |
| alpine 3.19 | gitlab-runner | 15.10.0-r0 |
| alpine 3.20 | gitlab-runner | 15.10.0-r0 |
| alpine 3.21 | gitlab-runner | 15.10.0-r0 |
| alpine 3.22 | gitlab-runner | 15.10.0-r0 |
| alpine 3.23 | gitlab-runner | 15.10.0-r0 |
| alpine 3.24 | gitlab-runner | 15.10.0-r0 |
| alpine edge | gitlab-runner | 15.10.0-r0 |
| amazon linux 2022 | compat-golang-github-cpuguy83-md2man-2-devel | 2.0.2-20.amzn2022 |
| amazon linux 2022 | golang | 1.19.1-1.amzn2022.0.2 |
| amazon linux 2022 | golang-bin | 1.19.1-1.amzn2022.0.2 |
| amazon linux 2022 | golang-docs | 1.19.1-1.amzn2022.0.2 |
| amazon linux 2022 | golang-github-cpuguy83-md2man | 2.0.2-20.amzn2022 |
| amazon linux 2022 | golang-github-cpuguy83-md2man-debuginfo | 2.0.2-20.amzn2022 |
| amazon linux 2022 | golang-github-cpuguy83-md2man-debugsource | 2.0.2-20.amzn2022 |
| amazon linux 2022 | golang-github-cpuguy83-md2man-devel | 2.0.2-20.amzn2022 |
| amazon linux 2022 | golang-misc | 1.19.1-1.amzn2022.0.2 |
| amazon linux 2022 | golang-race | 1.19.1-1.amzn2022.0.2 |
| amazon linux 2022 | golang-shared | 1.19.1-1.amzn2022.0.2 |
| amazon linux 2022 | golang-src | 1.19.1-1.amzn2022.0.2 |
| amazon linux 2022 | golang-tests | 1.19.1-1.amzn2022.0.2 |
| amazon linux 2022 | golist | 0.10.1-11.amzn2022.0.1 |
| amazon linux 2022 | golist-debuginfo | 0.10.1-11.amzn2022.0.1 |
| amazon linux 2022 | golist-debugsource | 0.10.1-11.amzn2022.0.1 |
| chainguard | kube-state-metrics-2.6 | 2.6.0-r1 |
| chainguard | kubeflow | 1.10.0-r3 |
| chainguard | kubeflow-fips | 1.10.0-r2 |
| debian 10 | golang-github-emicklei-go-restful | no fix listed |
| debian 11 | golang-github-emicklei-go-restful | no fix listed |
| debian 12 | golang-github-emicklei-go-restful | 3.10.2-1 |
| debian 13 | golang-github-emicklei-go-restful | 3.10.2-1 |
| debian 14 | golang-github-emicklei-go-restful | 3.10.2-1 |
| echo | golang-github-emicklei-go-restful | 3.10.2-1 |
| Red Hat | ansible-service-broker | no fix listed |
| Red Hat | ansible-service-broker-container-scripts | no fix listed |
| Red Hat | ansible-service-broker-selinux | no fix listed |
| Red Hat | atomic-enterprise-service-catalog | no fix listed |
| Red Hat | atomic-enterprise-service-catalog-svcat | no fix listed |
| Red Hat | atomic-openshift | no fix listed |
| Red Hat | atomic-openshift-clients | no fix listed |
| Red Hat | atomic-openshift-clients-redistributable | no fix listed |
| Red Hat | atomic-openshift-descheduler | no fix listed |
| Red Hat | atomic-openshift-docker-excluder | no fix listed |
| Red Hat | atomic-openshift-dockerregistry | no fix listed |
| Red Hat | atomic-openshift-excluder | no fix listed |
| Red Hat | atomic-openshift-hyperkube | no fix listed |
| Red Hat | atomic-openshift-hypershift | no fix listed |
| Red Hat | atomic-openshift-master | no fix listed |
| Red Hat | atomic-openshift-node | no fix listed |
| Red Hat | atomic-openshift-pod | no fix listed |
| Red Hat | atomic-openshift-sdn-ovs | no fix listed |
| Red Hat | atomic-openshift-service-idler | no fix listed |
| Red Hat | atomic-openshift-template-service-broker | no fix listed |
| Red Hat | atomic-openshift-tests | no fix listed |
| Red Hat | automation-broker-apb-role | no fix listed |
| Red Hat | golang-github-openshift-oauth-proxy | no fix listed |
| Red Hat | machine-config-daemon | no fix listed |
| Red Hat | openshift | no fix listed |
| Red Hat | openshift-clients | no fix listed |
| Red Hat | openshift-clients-redistributable | no fix listed |
| Red Hat | openshift-hyperkube | no fix listed |
| Red Hat | openshift-kube-apiserver | no fix listed |
| Red Hat | openshift-kube-controller-manager | no fix listed |
| Red Hat | openshift-kube-scheduler | no fix listed |
| Red Hat | openshift-kubelet | no fix listed |
| wolfi | kubeflow | 1.10.0-r3 |
References
- https://access.redhat.com/security/cve/CVE-2022-1996
- https://github.com/emicklei/go-restful
- https://github.com/emicklei/go-restful/commit/926662532deb450272956c7bc573978464aae74e
- https://github.com/emicklei/go-restful/commit/f292efff46ae17e9d104f865a60a39a2ae9402f1
- https://github.com/emicklei/go-restful/commit/fd3c327a379ce08c68ef18765bdc925f5d9bad10
- https://github.com/emicklei/go-restful/issues/489
- https://huntr.dev/bounties/be837427-415c-4d8c-808b-62ce20aa84f1
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/575BLJ3Y2EQBRNTFR2OSQQ6L2W6UCST3
All 28 references
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/575BLJ3Y2EQBRNTFR2OSQQ6L2W6UCST3/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OBDD3Q23RCGAGHIXUCWBU6N3S4RNAKXB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OBDD3Q23RCGAGHIXUCWBU6N3S4RNAKXB/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SO5QC2JFW2PXBWAE27OYYYL5SPFUBHTY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SO5QC2JFW2PXBWAE27OYYYL5SPFUBHTY/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W56PP46JVZEKCANBKXFKRVSBBRRMCY6V
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W56PP46JVZEKCANBKXFKRVSBBRRMCY6V/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGQKWD6SE75PFBPFVSZYAKAVXKBZXKWS
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGQKWD6SE75PFBPFVSZYAKAVXKBZXKWS/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR/
- https://nvd.nist.gov/vuln/detail/CVE-2022-1996
- https://pkg.go.dev/vuln/GO-2022-0619
- https://security.netapp.com/advisory/ntap-20220923-0005
- https://security.netapp.com/advisory/ntap-20220923-0005/
- https://www.cve.org/CVERecord?id=CVE-2022-1996