Skip to content
Heist/ feed
Back to feed
Critical

golang-github-emicklei-go-restful — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2022-1996

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

Products
golang-github-emicklei-go-restful
Affected versions
1.1.3-1, 1.2-1, 2.11.1-1, 2.11.1-2, 2.4.0-1, 2.4.0-2, 3.10.2-1, 3.7.3-1
Fixed versions
Not specified
CVEs
CVE-2022-1996
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:39 UTC · Revision 1

Source evidence

UBUNTU-CVE-2022-1996

core-osv · Original source

Published 8 Jun 2022, 13:15 UTC

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

osv:UBUNTU-CVE-2022-1996

golang-github-emicklei-go-restful

Fixed versions: Not specified

golang-github-emicklei-go-restful

Fixed versions: Not specified

golang-github-emicklei-go-restful

Fixed versions: Not specified

golang-github-emicklei-go-restful

Fixed versions: Not specified

golang-github-emicklei-go-restful

Fixed versions: Not specified

golang-github-emicklei-go-restful

Fixed versions: Not specified

golang-github-emicklei-go-restful

Fixed versions: Not specified

golang-github-emicklei-go-restful

Fixed versions: Not specified

Complete source record
{
  "id": "9d6d867848b78c2c700ba5286540019c80d46acb641a3f58ecc7a18dd353282f",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-1996",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2022-1996",
    "summary": "Authorization Bypass Through User-Controlled Key in GitHub repository emicklei/go-restful prior to v3.8.0.",
    "evidence": "osv:UBUNTU-CVE-2022-1996",
    "products": [
      {
        "name": {
          "value": "golang-github-emicklei-go-restful",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.3-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-emicklei-go-restful",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.4.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.4.0-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-emicklei-go-restful",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.4.0-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.11.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.11.1-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-emicklei-go-restful",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.11.1-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.7.3-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-emicklei-go-restful",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.10.2-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-emicklei-go-restful",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.10.2-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-emicklei-go-restful",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.10.2-1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-emicklei-go-restful",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.10.2-1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2022-1996",
      "aliases": [
        "UBUNTU-CVE-2022-1996"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-emicklei-go-restful",
            "purl": "pkg:deb/ubuntu/golang-github-emicklei-go-restful?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.1.3-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-emicklei-go-restful-dev",
                "binary_version": "1.1.3-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-emicklei-go-restful",
            "purl": "pkg:deb/ubuntu/golang-github-emicklei-go-restful?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.2-1",
            "2.4.0-1",
            "2.4.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-emicklei-go-restful-dev",
                "binary_version": "2.4.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-emicklei-go-restful",
            "purl": "pkg:deb/ubuntu/golang-github-emicklei-go-restful?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "2.4.0-2",
            "2.11.1-1",
            "2.11.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-emicklei-go-restful-dev",
                "binary_version": "2.11.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-emicklei-go-restful",
            "purl": "pkg:deb/ubuntu/golang-github-emicklei-go-restful?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "2.11.1-2",
            "3.7.3-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-emicklei-go-restful-dev",
                "binary_version": "3.7.3-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-emicklei-go-restful",
            "purl": "pkg:deb/ubuntu/golang-github-emicklei-go-restful?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "3.10.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-emicklei-go-restful-dev",
                "binary_version": "3.10.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-emicklei-go-restful",
            "purl": "pkg:deb/ubuntu/golang-github-emicklei-go-restful?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "3.10.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-emicklei-go-restful-dev",
                "binary_version": "3.10.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-emicklei-go-restful",
            "purl": "pkg:deb/ubuntu/golang-github-emicklei-go-restful?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.10.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-emicklei-go-restful-dev",
                "binary_version": "3.10.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-emicklei-go-restful",
            "purl": "pkg:deb/ubuntu/golang-github-emicklei-go-restful?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.10.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-emicklei-go-restful-dev",
                "binary_version": "3.10.2-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:55:56.387487422Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-1996"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2022-1996",
        "https://huntr.dev/bounties/be837427-415c-4d8c-808b-62ce20aa84f1/",
        "https://github.com/emicklei/go-restful/commit/fd3c327a379ce08c68ef18765bdc925f5d9bad10",
        "https://www.cve.org/CVERecord?id=CVE-2022-1996"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-1996",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354341,
  "published_at": "2022-06-08T13:15:00+00:00"
}