CVE-2022-1996
cAdvisor vulnerability analysis and mitigation

Overview

CVE-2022-1996 affects the GitHub repository emicklei/go-restful prior to version v3.8.0. The vulnerability was discovered and disclosed in June 2022, impacting the CORS Filter feature of the go-restful package, which is used for building REST-style Web Services using Go (NVD, Red Hat).

Technical details

The vulnerability is related to an authorization bypass through user-controlled key in the CORS Filter feature. When a user inputs a domain that is in AllowedDomains, all domains starting with the same pattern could potentially be allowed, leading to a security bypass. The vulnerability has been assigned a CVSS v3.1 base score of 9.1 (Critical) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, indicating network accessibility, low attack complexity, and no required privileges or user interaction (Ubuntu).

Impact

Successful exploitation of this vulnerability could lead to disclosure of sensitive information or addition or modification of data. The vulnerability affects confidentiality and integrity with high impact, though availability is not affected (NetApp).

Mitigation and workarounds

The vulnerability has been fixed in go-restful version 3.8.0 and later. The fix involves implementing exact matching of allowed domain entries instead of pattern matching. Users should upgrade to version 3.8.0 or later to mitigate this vulnerability (GitHub).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management