CVE-2022-1996CWE-639

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

Critical · published June 6, 2022

CVSS v3.0
9.3
EPSS
3%
Percentile
87.7
In the wild
Unconfirmed
What it is

🔥 An authorization bypass in the emicklei/go-restful library means users control the key to the castle — and that could open it wide! Think of it like a restaurant where the waiter decides who gets access to the kitchen. If the waiter is easily fooled by a diner’s clever tricks, anyone might get in and start cooking up a storm, potentially ruining the whole menu! With this vulnerability, a savvy attacker could manipulate access controls to gain unauthorized entry to sensitive resources. This could lead to data theft, modification, or even complete server takeover — a nightmare scenario for any development team!

Put simply

Think of it like a restaurant where the waiter decides who gets access to the kitchen. If the waiter is easily fooled by a diner’s clever tricks, anyone might get in and start cooking up a storm, potentially ruining the whole menu! This critical flaw allows an attacker to bypass authorization checks by sending a specially crafted request with a user-controlled key in the GitHub repository emicklei/go-restful prior to version 3.8.0.

What to do

With this vulnerability, a savvy attacker could manipulate access controls to gain unauthorized entry to sensitive resources. This could lead to data theft, modification, or even complete server takeover — a nightmare scenario for any development team! Immediately upgrade to version 3.8.0 or later to eliminate this critical vulnerability. Ensure your access controls are properly configured and conduct an audit to verify that sensitive endpoints are secured appropriately. You've got this! Tackle these updates and keep your application safe and sound! 🛡️

The record
Technical detail
CVSS v3.0
9.3 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.03115 · 87.7th percentile
Weakness
CWE-639 · Authorization Bypass Through User-Controlled Key
Published
2022-06-06T00:00Z
EPSS history
Timeline
  • 06 JUN 00:00Z
    Authorization Bypass Through User-Controlled Key in emicklei/go-restful
    cvelistv5