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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | gitlab-runner | 15.10.0-r0 | ALPINE-CVE-2022-1996 |
| Alpine:v3.21 | gitlab-runner | 15.10.0-r0 | ALPINE-CVE-2022-1996 |
| Alpine:v3.22 | gitlab-runner | 15.10.0-r0 | ALPINE-CVE-2022-1996 |
| Alpine:v3.23 | gitlab-runner | 15.10.0-r0 | ALPINE-CVE-2022-1996 |
| Alpine:v3.24 | gitlab-runner | 15.10.0-r0 | ALPINE-CVE-2022-1996 |
| Debian:12 | golang-github-emicklei-go-restful | 3.10.2-1 | DEBIAN-CVE-2022-1996 |
| Debian:13 | golang-github-emicklei-go-restful | 3.10.2-1 | DEBIAN-CVE-2022-1996 |
| Debian:14 | golang-github-emicklei-go-restful | 3.10.2-1 | DEBIAN-CVE-2022-1996 |
| Go | github.com/emicklei/go-restful | 2.16.0 | GHSA-r48q-9g5r-8q2h |
| Go | github.com/emicklei/go-restful | 2.16.0+incompatible | GO-2022-0619 |
| Go | github.com/emicklei/go-restful/v2 | no fix listed | GO-2022-0619 |
| Go | github.com/emicklei/go-restful/v2 | no fix listed | GHSA-r48q-9g5r-8q2h |
| Go | github.com/emicklei/go-restful/v3 | 3.8.0 | GO-2022-0619 |
| Go | github.com/emicklei/go-restful/v3 | 3.8.0 | GHSA-r48q-9g5r-8q2h |
| Ubuntu:22.04:LTS | golang-github-emicklei-go-restful | no fix listed | UBUNTU-CVE-2022-1996 |
| Ubuntu:24.04:LTS | golang-github-emicklei-go-restful | no fix listed | UBUNTU-CVE-2022-1996 |
| Ubuntu:25.10 | golang-github-emicklei-go-restful | no fix listed | UBUNTU-CVE-2022-1996 |
| Ubuntu:26.04:LTS | golang-github-emicklei-go-restful | no fix listed | UBUNTU-CVE-2022-1996 |
| Ubuntu:26.10 | golang-github-emicklei-go-restful | no fix listed | UBUNTU-CVE-2022-1996 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://huntr.dev/bounties/be837427-415c-4d8c-808b-62ce20aa84f1
- https://github.com/emicklei/go-restful/commit/fd3c327a379ce08c68ef18765bdc925f5d9bad10
- FEDORA-2022-185697ef56 vendor-advisory
- FEDORA-2022-589a0ad690 vendor-advisory
- FEDORA-2022-fae3ecee19 vendor-advisory
- FEDORA-2022-ba365d3703 vendor-advisory
- FEDORA-2022-30c5ed5625 vendor-advisory
- https://security.netapp.com/advisory/ntap-20220923-0005/
- FEDORA-2023-6550d9323b vendor-advisory
- FEDORA-2023-4e2068ba5d vendor-advisory
- FEDORA-2023-c9b2182a4e vendor-advisory