cve.bz

CVE-2022-1996

9.1 criticalExploit referenceEPSS 3.1%Fix available

Critical (9.1). EPSS 3.1% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/emicklei/go-restful/v3 3.8.0.

On this page
Authorization Bypass Through User-Controlled Key in GitHub repository emicklei/go-restful prior to v3.8.0.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
3.1% (unchanged from 3.1% a week ago; 3.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-639 Authorization Bypass Through User-Controlled Key
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-1996 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-1996?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-1996?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-1996 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
emicklei/go-restfulbefore v3.8.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r48q-9g5r-8q2hGogithub.com/emicklei/go-restful/v3>=3.0.0 <3.8.03.8.0
GHSA-r48q-9g5r-8q2hGogithub.com/emicklei/go-restful<2.16.02.16.0
GHSA-r48q-9g5r-8q2hGogithub.com/emicklei/go-restful/v2<=2.7.1no fix published
GO-2022-0619Gogithub.com/emicklei/go-restful<2.16.0+incompatible2.16.0+incompatible
GO-2022-0619Gogithub.com/emicklei/go-restful/v2>=2.7.1no fix published
GO-2022-0619Gogithub.com/emicklei/go-restful/v3>=3.0.0 <3.8.03.8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-github-emicklei-go-restful3.10.2-1DEBIAN-CVE-2022-1996
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moregolang-github-emicklei-go-restfulno fix listedUBUNTU-CVE-2022-1996
Red Hatopenshift_gitops:1.8::el8openshift-gitops-kam, openshift-gitops-kam-redistributable0:1.8.3-6.el8RHSA-2023:3229
Red Hatopenshift_gitops:1.9::el9openshift-gitops-kam, openshift-gitops-kam-redistributable0:1.9.0-102.el8RHSA-2023:3557
Red Hatserverless:1.0::el8openshift-serverless-clients0:1.3.1-4.el8RHSA-2022:6042
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 15 morecontainerd1.7.8-150000.103.1SUSE-SU-2023:4727-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 15 morerunc1.1.10-150000.55.1SUSE-SU-2023:4727-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 15 morecontainerd1.7.21-150000.117.1SUSE-SU-2024:3221-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP1-LTSS and 3 morecatatonit0.2.0-150000.3.6.1SUSE-SU-2023:4727-1
SUSELinux Enterprise Module for Containers 12containerd1.7.8-16.91.7SUSE-SU-2024:0799-1
SUSELinux Enterprise Module for Containers 15 SP3containerized-data-importer1.43.2-150300.8.9.3SUSE-SU-2022:3335-1
SUSELinux Enterprise Module for Containers 15 SP3kubevirt0.49.0-150300.8.13.1SUSE-SU-2022:3321-1
SUSELinux Enterprise Module for Containers 15 SP3, Linux Enterprise Module for Containers 15 SP4, Linux Enterprise Module for Package Hub 15 SP3 and 1 morehelm3.9.4-150000.1.10.3SUSE-SU-2022:3666-1
SUSELinux Enterprise Module for Containers 15 SP4containerized-data-importer1.51.0-150400.4.3.1SUSE-SU-2022:3334-1
SUSELinux Enterprise Module for Containers 15 SP4kubevirt0.54.0-150400.3.3.2SUSE-SU-2022:3333-1
SUSELinux Enterprise Module for Containers 15 SP4, Linux Enterprise Module for Package Hub 15 SP4helm3.10.3-150000.1.13.1SUSE-SU-2022:4606-1
SUSELinux Enterprise Module for Public Cloud 15 SP2, Linux Enterprise Module for Public Cloud 15 SP3, Linux Enterprise Module for Public Cloud 15 SP4 and 2 moreaws-iam-authenticator0.5.3-150000.1.12.1SUSE-SU-2024:4329-1
4 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3containerized-data-importer1.43.2-150300.8.9.3SUSE-SU-2022:3335-1
openSUSELeap 15.3kubevirt0.49.0-150300.8.13.1SUSE-SU-2022:3321-1
openSUSELeap 15.3trivy0.30.4-bp153.8.1openSUSE-SU-2022:10094-1
openSUSELeap 15.3, Leap 15.4helm3.10.3-150000.1.13.1SUSE-SU-2022:4606-1
openSUSELeap 15.3, Leap 15.4helm3.9.4-150000.1.10.3SUSE-SU-2022:3666-1
openSUSELeap 15.4containerized-data-importer1.51.0-150400.4.3.1SUSE-SU-2022:3334-1
openSUSELeap 15.4kubevirt0.54.0-150400.3.3.2SUSE-SU-2022:3333-1
openSUSELeap 15.4trivy0.30.4-bp154.2.6.1openSUSE-SU-2022:10081-1
openSUSELeap 15.4, Leap 15.5, Leap Micro 5.3 and 1 morecontainerd1.7.8-150000.103.1SUSE-SU-2023:4727-1
openSUSELeap 15.4, Leap 15.5, Leap Micro 5.3 and 1 morerunc1.1.10-150000.55.1SUSE-SU-2023:4727-1
openSUSELeap 15.5, Leap 15.6aws-iam-authenticator0.5.3-150000.1.12.1SUSE-SU-2024:4329-1
openSUSELeap 15.5, Leap 15.6, Leap Micro 5.5containerd1.7.21-150000.117.1SUSE-SU-2024:3221-1
4 more for openSUSE in the JSON and on openSUSE's page.
Alpinev3.18, v3.19, v3.20 and 4 moregitlab-runner15.10.0-r0ALPINE-CVE-2022-1996
Azure Linux3sriov-network-device-plugin3.7.0-1AZL-41344

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The go-restful package is a transitive dependency which is being pulled with k8s.io/api and not directly being used anywhere in OpenShift Container Platform (OCP), OpenShift Container Storage, OpenShift Data Foundation, OpenShift Do and OpenShift Pipelines, hence these components are marked as 'Will not fix' or even "Not affected".

ProductPackageStateAdvisory
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-grafana-dashboard-rhel8:2.2.0-14Fixed 2023-02-20RHSA-2023:0814
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-operator-bundle:2.2.1-8Fixed 2023-02-20RHSA-2023:0814
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-reports-rhel8:1.1.1-9Fixed 2023-02-20RHSA-2023:0814
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-rhel8:2.2.1-8Fixed 2023-02-20RHSA-2023:0814
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-rhel8-operator:2.2.1-11Fixed 2023-02-20RHSA-2023:0814
Cryostat 2 on RHEL 8cryostat-tech-preview/jfr-datasource-rhel8:2.2.0-14Fixed 2023-02-20RHSA-2023:0814
Openshift Serveless 1.24openshift-serverless-1/client-kn-rhel8:1.3.1-4Fixed 2022-08-10RHSA-2022:6040
Openshift Serveless 1.24openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8:1.3.2-3Fixed 2022-08-10RHSA-2022:6040
Openshift Serveless 1.24openshift-serverless-1/eventing-controller-rhel8:1.3.2-3Fixed 2022-08-10RHSA-2022:6040
Openshift Serveless 1.24openshift-serverless-1/eventing-in-memory-channel-controller-rhel8:1.3.2-3Fixed 2022-08-10RHSA-2022:6040
OpenShift Developer Tools and ServiceshelmAffected
OpenShift Developer Tools and ServicesodoWill not fix
OpenShift Pipelinesopenshift-pipelines-clientNot affected
OpenShift ServerlesscliAffected
OpenShift Serverlessknative-eventingAffected
OpenShift Service Mesh 2.0servicemeshNot affected
OpenShift Service Mesh 2.1servicemeshNot affected
OpenShift Service Mesh 2.1servicemesh-prometheusNot affected
Red Hat 3scale API Management Platform 23scale-rhel7-operatorAffected
Red Hat Ansible Automation Platform 1.2openshift-clientsWill not fix
68 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-1996.

References

Check your stackJSON