CVE-2022-1996Go-restful Project Go-restful
Critical 9.1 No auth needed
Follow: this CVE · Go-restful Project · Go-restful Project Go-restful We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 2.6% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Jun 8, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-639
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
Authorization Bypass Through User-Controlled Key in GitHub repository emicklei/go-restful prior to v3.8.0.
What to do
- Apply the vendor's security update for Go-restful.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/emicklei/go-restful |
< 2.16.0 |
2.16.0 |
go get github.com/emicklei/go-restful@v2.16.0 |
| Go | github.com/emicklei/go-restful |
< 2.16.0+incompatible |
2.16.0+incompatible |
go get github.com/emicklei/go-restful@v2.16.0+incompatible |
| Go | github.com/emicklei/go-restful/v2 |
≤ 2.7.1 |
no fixed version | — |
| Go | github.com/emicklei/go-restful/v2 |
≥ 2.7.1 |
no fixed version | — |
| Go | github.com/emicklei/go-restful/v3 |
≥ 3.0.0 < 3.8.0 |
3.8.0 |
go get github.com/emicklei/go-restful/v3@v3.8.0 |
| Go | github.com/emicklei/go-restful/v3 |
≥ 3.0.0 < 3.8.0 |
3.8.0 |
go get github.com/emicklei/go-restful/v3@v3.8.0 |
Per OSV / GitHub Advisories (GHSA-r48q-9g5r-8q2h, GO-2022-0619). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| go-restful_project | go-restful | < 2.16.0 |
| go-restful_project | go-restful | ≥ 3.0.0 < 3.8.0 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
Official advisories
- Security update for aws-iam-authenticator · SUSE · SUSE-SU-2026:2643-1 · Jun 26, 2026 Critical
- Red Hat Security Advisory: Release of OpenShift Serverless Client kn 1.24.0 · Red Hat · RHSA-2022:6042 · Sep 30, 2024 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- huntr.dev Exploit Patch Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.netapp.com Third Party Advisory