CVEfocus › CVE database › CVE-2022-1996

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

CVSS 9.3 CriticalEPSS 3.1% (higher than 88% of CVEs)Published 2022-06-06Updated 2024-08-03Assigner: @huntrdev

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

CWE-639

What to do

Fixed builds are available from Alpine, Debian, Go: see the table below for the fixed version per release.

Go, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
3Fix pending
3Under investigation
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-github-emicklei-go-restfulFix pendingUBUNTU-CVE-2022-1996
Ubuntu 26.04golang-github-emicklei-go-restfulUnder investigationUBUNTU-CVE-2022-1996
Ubuntu 25.10golang-github-emicklei-go-restfulWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-1996
Ubuntu 24.04golang-github-emicklei-go-restfulUnder investigationUBUNTU-CVE-2022-1996
Ubuntu 22.04golang-github-emicklei-go-restfulUnder investigationUBUNTU-CVE-2022-1996
Ubuntu 20.04golang-github-emicklei-go-restfulWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-1996
Ubuntu 18.04golang-github-emicklei-go-restfulWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-1996
Ubuntu 16.04golang-github-emicklei-go-restfulFix pendingUBUNTU-CVE-2022-1996
Debian 14golang-github-emicklei-go-restfulFixed3.10.2-1DEBIAN-CVE-2022-1996
Debian 13golang-github-emicklei-go-restfulFixed3.10.2-1DEBIAN-CVE-2022-1996
Debian 12golang-github-emicklei-go-restfulFixed3.10.2-1DEBIAN-CVE-2022-1996
Alpine Linux 3.24gitlab-runnerFixed15.10.0-r0ALPINE-CVE-2022-1996
Alpine Linux 3.23gitlab-runnerFixed15.10.0-r0ALPINE-CVE-2022-1996
Alpine Linux 3.22gitlab-runnerFixed15.10.0-r0ALPINE-CVE-2022-1996
Alpine Linux 3.21gitlab-runnerFixed15.10.0-r0ALPINE-CVE-2022-1996
Alpine Linux 3.20gitlab-runnerFixed15.10.0-r0ALPINE-CVE-2022-1996
Alpine Linux 3.19gitlab-runnerFixed15.10.0-r0ALPINE-CVE-2022-1996
Alpine Linux 3.18gitlab-runnerFixed15.10.0-r0ALPINE-CVE-2022-1996
Go librarygithub.com/emicklei/go-restfulFixed2.16.0+incompatibleGHSA-r48q-9g5r-8q2h
Go librarygithub.com/emicklei/go-restful/v2Fix pendingGO-2022-0619
Go librarygithub.com/emicklei/go-restful/v3Fixed3.8.0GO-2022-0619

What the vendor says

As published in the CVE record by @huntrdev, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.