Live threats

All CVEs / Go-restful Project

CVE-2022-1996Go-restful Project Go-restful

Critical 9.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go-restful.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
go-restful_projectgo-restful< 2.16.0
go-restful_projectgo-restful≥ 3.0.0 < 3.8.0
fedoraprojectfedora35
fedoraprojectfedora36

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.