Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/emicklei/go-restful/v2
  4. ›
  5. CVE-2022-1996

CVE-2022-1996: Authorization Bypass Through User-Controlled Key in go-restful

June 9, 2022 (updated July 21, 2022)

Authorization Bypass Through User-Controlled Key in GitHub repository emicklei/go-restful

References

  • github.com/advisories/GHSA-r48q-9g5r-8q2h
  • github.com/emicklei/go-restful/commit/fd3c327a379ce08c68ef18765bdc925f5d9bad10
  • github.com/emicklei/go-restful/issues/489
  • huntr.dev/bounties/be837427-415c-4d8c-808b-62ce20aa84f1
  • nvd.nist.gov/vuln/detail/CVE-2022-1996

Code Behaviors & Features

Detect and mitigate CVE-2022-1996 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before v2.16.0, all versions starting from v3.0.0 before v3.8.0

Fixed versions

  • v2.16.0
  • v3.8.0

Solution

Upgrade to versions 2.16.0, 3.8.0 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

go/github.com/emicklei/go-restful/v2/CVE-2022-1996.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:51 +0000.