{"answers":{"affected":"9 open source packages ship an affected version, including github.com/emicklei/go-restful, github.com/emicklei/go-restful/v2 and github.com/emicklei/go-restful/v3. It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-1996 in the wild and no public exploit code.","fix":"Upgrade github.com/emicklei/go-restful to a fixed version for your release line: 2.16.0 or 2.16.0+incompatible.","what":"CVE-2022-1996 is a critical authentication bypass vulnerability in Fedoraproject Fedora, published on 6 Jun 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-1996 and fix it if it is affected.\n\nWhat it is: CVE-2022-1996 is a critical authentication bypass vulnerability in Fedoraproject Fedora, published on 6 Jun 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-1996 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/emicklei/go-restful (Go): affected all versions; fixed in 2.16.0\n- github.com/emicklei/go-restful (Go): affected all versions; fixed in 2.16.0\n- github.com/emicklei/go-restful (Go): affected all versions; fixed in 2.16.0+incompatible\n- github.com/emicklei/go-restful/v2 (Go): affected all versions up to 2.7.1; no fix listed\n- github.com/emicklei/go-restful/v2 (Go): affected all versions up to 2.7.1; no fix listed\n- github.com/emicklei/go-restful/v2 (Go): affected from 2.7.1; no fix listed\n- github.com/emicklei/go-restful/v3 (Go): affected from 3.0.0; fixed in 3.8.0\n- github.com/emicklei/go-restful/v3 (Go): affected from 3.0.0; fixed in 3.8.0\n- github.com/emicklei/go-restful/v3 (Go): affected from 3.0.0; fixed in 3.8.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-1996/ (Markdown: https://insights.sbomify.com/CVE-2022-1996/index.md)","id":"CVE-2022-1996","markdown":"https://insights.sbomify.com/CVE-2022-1996/index.md","name":"CVE-2022-1996","record":{"aliases":["AZL-41344","CLEANSTART-2025-WF62094","CLEANSTART-2026-GY43798","CLEANSTART-2026-PI41655","DEBIAN-CVE-2022-1996","GHSA-r48q-9g5r-8q2h","GO-2022-0619","RHSA-2023:3229","RHSA-2023:3557","SUSE-SU-2022:3334-1","SUSE-SU-2022:3335-1","SUSE-SU-2023:4727-1","SUSE-SU-2024:0799-1","SUSE-SU-2024:4329-1","UBUNTU-CVE-2022-1996","openSUSE-SU-2022:10081-1","openSUSE-SU-2024:12205-1","openSUSE-SU-2024:12252-1","openSUSE-SU-2024:14081-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Go RESTful library","requires_auth":"none","summary":"An attacker can bypass authorization controls by manipulating user-controlled keys in the go-restful library, potentially accessing unauthorized resources.","user_interaction":"required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"go-restful","vendor":"go-restful_project"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"description":"Authorization Bypass Through User-Controlled Key in GitHub repository emicklei/go-restful prior to v3.8.0.","ecosystems":["Go","Red Hat:openshift_gitops:1.8::el8","Red Hat:openshift_gitops:1.9::el9","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Containers 12","SUSE:Linux Enterprise Module for Containers 15 SP3","SUSE:Linux Enterprise Module for Containers 15 SP4","SUSE:Linux Enterprise Module for Containers 15 SP5","SUSE:Linux Enterprise Module for Public Cloud 15 SP2","SUSE:Linux Enterprise Module for Public Cloud 15 SP3","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Public Cloud 15 SP5","SUSE:Linux Enterprise Module for Public Cloud 15 SP6","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Package Hub 15 SP4","openSUSE:Leap 15.3","openSUSE:Leap 15.4","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Leap Micro 5.3","openSUSE:Leap Micro 5.4","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Authorization Bypass Through User-Controlled Key in emicklei/go-restful","id":"CVE-2022-1996","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"auth_bypass","year":"2022"},"n_packages":80,"n_references":11,"next":{"headline":"Cross-site Scripting (XSS) - Stored in francoisjacquet/rosariosis","id":"CVE-2022-1997"},"packages":[{"ecosystem":"Go","fixed":["2.16.0"],"introduced":["0"],"last_affected":[],"package":"github.com/emicklei/go-restful","purl":null,"source":"GHSA-r48q-9g5r-8q2h"},{"ecosystem":"Go","fixed":["2.16.0"],"introduced":["0"],"last_affected":[],"package":"github.com/emicklei/go-restful","purl":"pkg:golang/github.com/emicklei/go-restful","source":"GHSA-r48q-9g5r-8q2h"},{"ecosystem":"Go","fixed":["2.16.0+incompatible"],"introduced":["0"],"last_affected":[],"package":"github.com/emicklei/go-restful","purl":"pkg:golang/github.com/emicklei/go-restful","source":"GO-2022-0619"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.7.1"],"package":"github.com/emicklei/go-restful/v2","purl":null,"source":"GHSA-r48q-9g5r-8q2h"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.7.1"],"package":"github.com/emicklei/go-restful/v2","purl":"pkg:golang/github.com/emicklei/go-restful/v2","source":"GHSA-r48q-9g5r-8q2h"},{"ecosystem":"Go","fixed":[],"introduced":["2.7.1"],"last_affected":[],"package":"github.com/emicklei/go-restful/v2","purl":"pkg:golang/github.com/emicklei/go-restful/v2","source":"GO-2022-0619"},{"ecosystem":"Go","fixed":["3.8.0"],"introduced":["3.0.0"],"last_affected":[],"package":"github.com/emicklei/go-restful/v3","purl":null,"source":"GHSA-r48q-9g5r-8q2h"},{"ecosystem":"Go","fixed":["3.8.0"],"introduced":["3.0.0"],"last_affected":[],"package":"github.com/emicklei/go-restful/v3","purl":"pkg:golang/github.com/emicklei/go-restful/v3","source":"GHSA-r48q-9g5r-8q2h"},{"ecosystem":"Go","fixed":["3.8.0"],"introduced":["3.0.0"],"last_affected":[],"package":"github.com/emicklei/go-restful/v3","purl":"pkg:golang/github.com/emicklei/go-restful/v3","source":"GO-2022-0619"},{"ecosystem":"Red Hat:openshift_gitops:1.8::el8","fixed":["0:1.8.3-6.el8"],"introduced":["0"],"last_affected":[],"package":"openshift-gitops-kam","purl":"pkg:rpm/redhat/openshift-gitops-kam","source":"RHSA-2023:3229"},{"ecosystem":"Red Hat:openshift_gitops:1.8::el8","fixed":["0:1.8.3-6.el8"],"introduced":["0"],"last_affected":[],"package":"openshift-gitops-kam-redistributable","purl":"pkg:rpm/redhat/openshift-gitops-kam-redistributable","source":"RHSA-2023:3229"},{"ecosystem":"Red Hat:openshift_gitops:1.9::el9","fixed":["0:1.9.0-102.el8"],"introduced":["0"],"last_affected":[],"package":"openshift-gitops-kam","purl":"pkg:rpm/redhat/openshift-gitops-kam","source":"RHSA-2023:3557"},{"ecosystem":"Red Hat:openshift_gitops:1.9::el9","fixed":["0:1.9.0-102.el8"],"introduced":["0"],"last_affected":[],"package":"openshift-gitops-kam-redistributable","purl":"pkg:rpm/redhat/openshift-gitops-kam-redistributable","source":"RHSA-2023:3557"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["1.7.8-150000.103.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["1.1.10-150000.55.1"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/suse/runc\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["0.2.0-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"catatonit","purl":"pkg:rpm/suse/catatonit\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.7.8-150000.103.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.1.10-150000.55.1"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/suse/runc\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["0.2.0-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"catatonit","purl":"pkg:rpm/suse/catatonit\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["1.7.8-150000.103.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["1.1.10-150000.55.1"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/suse/runc\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["1.7.8-150000.103.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["1.1.10-150000.55.1"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/suse/runc\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["1.7.8-150000.103.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["1.1.10-150000.55.1"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/suse/runc\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["1.7.8-150000.103.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["1.1.10-150000.55.1"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/suse/runc\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["1.7.8-150000.103.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["1.1.10-150000.55.1"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/suse/runc\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["1.7.8-150000.103.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["1.1.10-150000.55.1"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/suse/runc\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["1.7.8-150000.103.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["1.1.10-150000.55.1"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/suse/runc\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["1.7.8-150000.103.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["1.1.10-150000.55.1"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/suse/runc\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 12","fixed":["1.7.8-16.91.7"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2012","source":"SUSE-SU-2024:0799-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP3","fixed":["1.43.2-150300.8.9.3"],"introduced":["0"],"last_affected":[],"package":"containerized-data-importer","purl":"pkg:rpm/suse/containerized-data-importer\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP3","source":"SUSE-SU-2022:3335-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP4","fixed":["1.7.8-150000.103.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP4","source":"SUSE-SU-2023:4727-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP4","fixed":["1.51.0-150400.4.3.1"],"introduced":["0"],"last_affected":[],"package":"containerized-data-importer","purl":"pkg:rpm/suse/containerized-data-importer\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP4","source":"SUSE-SU-2022:3334-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP4","fixed":["1.1.10-150000.55.1"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/suse/runc\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP4","source":"SUSE-SU-2023:4727-1"}],"prev":{"headline":"miniOrange's Malware Scanner \u003c 4.5.2 - Admin+ Stored Cross-Site Scripting","id":"CVE-2022-1995"},"products":["emicklei/go-restful"],"published":"2022-06-06","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["emicklei"]},"summary":"An attacker can bypass authorization controls by manipulating user-controlled keys in the go-restful library, potentially accessing unauthorized resources.","url":"https://insights.sbomify.com/CVE-2022-1996/"}