Vulnerability · Published Jun 6, 2022 · Assigned by @huntrdev

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

Critical 9.3

In plain English

A critical-severity authorization bypass via user-controlled key in emicklei/go-restful from emicklei. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.1% (higher than 88% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)9.3Critical
Exploit odds (30 days)3.1%top 12.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20gitlab-runner15.10.0-r0ALPINE-CVE-2022-1996
Alpine:v3.21gitlab-runner15.10.0-r0ALPINE-CVE-2022-1996
Alpine:v3.22gitlab-runner15.10.0-r0ALPINE-CVE-2022-1996
Alpine:v3.23gitlab-runner15.10.0-r0ALPINE-CVE-2022-1996
Alpine:v3.24gitlab-runner15.10.0-r0ALPINE-CVE-2022-1996
Debian:12golang-github-emicklei-go-restful3.10.2-1DEBIAN-CVE-2022-1996
Debian:13golang-github-emicklei-go-restful3.10.2-1DEBIAN-CVE-2022-1996
Debian:14golang-github-emicklei-go-restful3.10.2-1DEBIAN-CVE-2022-1996
Gogithub.com/emicklei/go-restful2.16.0GHSA-r48q-9g5r-8q2h
Gogithub.com/emicklei/go-restful2.16.0+incompatibleGO-2022-0619
Gogithub.com/emicklei/go-restful/v2no fix listedGO-2022-0619
Gogithub.com/emicklei/go-restful/v2no fix listedGHSA-r48q-9g5r-8q2h
Gogithub.com/emicklei/go-restful/v33.8.0GO-2022-0619
Gogithub.com/emicklei/go-restful/v33.8.0GHSA-r48q-9g5r-8q2h
Ubuntu:22.04:LTSgolang-github-emicklei-go-restfulno fix listedUBUNTU-CVE-2022-1996
Ubuntu:24.04:LTSgolang-github-emicklei-go-restfulno fix listedUBUNTU-CVE-2022-1996
Ubuntu:25.10golang-github-emicklei-go-restfulno fix listedUBUNTU-CVE-2022-1996
Ubuntu:26.04:LTSgolang-github-emicklei-go-restfulno fix listedUBUNTU-CVE-2022-1996
Ubuntu:26.10golang-github-emicklei-go-restfulno fix listedUBUNTU-CVE-2022-1996

Affected products (as reported)

VendorProductVersions
emicklei emicklei/go-restful unspecified – before v3.8.0

Weakness: CWE-639 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

References