CVE-2022-1996
CRITICAL 9.1CVSS 3.1Authorization Bypass Through User-Controlled Key in go-restful
Authorization Bypass Through User-Controlled Key in GitHub repository emicklei/go-restful prior to v3.8.0.
- Published
- 8 Jun 2022
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-639
- Also known as
- GHSA-r48q-9g5r-8q2hGO-2022-0619
- Sources
- NVDJSONOSV GHSA-r48q-9g5r-8q2hJSONOSV GO-2022-0619JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | CRITICAL 9.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | go-restful_project | go-restfulcpe:2.3:a:go-restful_project:go-restful:*:*:*:*:*:*:*:* |
< 2.16.0 | 2.16.0 |
| NVD | go-restful_project | go-restfulcpe:2.3:a:go-restful_project:go-restful:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.8.0 | 3.8.0 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
= 36 | |
| OSV | Go | github.com/emicklei/go-restful/v3 | >= 3.0.0, < 3.8.0 | 3.8.0 |
| OSV | Go | github.com/emicklei/go-restful | < 2.16.0 | 2.16.0 |
| OSV | Go | github.com/emicklei/go-restful/v2 | <= 2.7.1 | |
| OSV | Go | github.com/emicklei/go-restful | < 2.16.0+incompatible | 2.16.0+incompatible |
| OSV | Go | github.com/emicklei/go-restful/v2 | >= 2.7.1 |
References
- https://github.com/emicklei/go-restful/commit/fd3c327a379ce08c68ef18765bdc925f5d9bad10 · Patch, Third Party Advisory, WEB
- https://huntr.dev/bounties/be837427-415c-4d8c-808b-62ce20aa84f1 · Exploit, Patch, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/575BLJ3Y2EQBRNTFR2OSQQ6L2W6UCST3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OBDD3Q23RCGAGHIXUCWBU6N3S4RNAKXB/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SO5QC2JFW2PXBWAE27OYYYL5SPFUBHTY/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W56PP46JVZEKCANBKXFKRVSBBRRMCY6V/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZGQKWD6SE75PFBPFVSZYAKAVXKBZXKWS/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR/
- https://security.netapp.com/advisory/ntap-20220923-0005/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-1996 · ADVISORY
- https://github.com/emicklei/go-restful/issues/489 · WEB
- https://github.com/emicklei/go-restful/commit/926662532deb450272956c7bc573978464aae74e · WEB
- https://github.com/emicklei/go-restful/commit/f292efff46ae17e9d104f865a60a39a2ae9402f1 · WEB, FIX
- https://pkg.go.dev/vuln/GO-2022-0619 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGQKWD6SE75PFBPFVSZYAKAVXKBZXKWS · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W56PP46JVZEKCANBKXFKRVSBBRRMCY6V · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SO5QC2JFW2PXBWAE27OYYYL5SPFUBHTY · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OBDD3Q23RCGAGHIXUCWBU6N3S4RNAKXB · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/575BLJ3Y2EQBRNTFR2OSQQ6L2W6UCST3 · WEB
- https://github.com/emicklei/go-restful · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 8 Jun 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Aug 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Jun 2022)