CVE-2022-0686CWE-639

Authorization Bypass Through User-Controlled Key in unshiftio/url-parse

Medium · published February 20, 2022

CVSS v3.0
6.5
EPSS
2%
Percentile
78.7
In the wild
Unconfirmed
What it is

⚠️ A crafty user-controlled key could slip past authorization checks in url-parse versions before 1.5.8—essentially granting access where it shouldn't! 🔓 Think of it like a restaurant where anyone can reorder food just by changing their table number—no one checks if they belong there! 🍽️ If exploited, this vulnerability could allow unauthorized users to access sensitive information or functions, potentially leading to data leaks or unwanted changes. It's like letting the wrong patron into the VIP section—it could really spoil the party!

Put simply

Think of it like a restaurant where anyone can reorder food just by changing their table number—no one checks if they belong there! 🍽️ This authorization bypass vulnerability allows attackers to manipulate user-controlled keys in the url-parse library, allowing them to bypass security checks and gain access to restricted resources.

What to do

If exploited, this vulnerability could allow unauthorized users to access sensitive information or functions, potentially leading to data leaks or unwanted changes. It's like letting the wrong patron into the VIP section—it could really spoil the party! Update url-parse to version 1.5.8 or later to close this loophole. Additionally, conduct a review of any areas where user-controlled inputs are processed to ensure stringent validation is enforced. 🛡️ You've got this! By patching up, you’ll keep things secure and your app running smoothly. 🦸

The record
Technical detail
CVSS v3.0
6.5 · MEDIUM
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.01827 · 78.7th percentile
Weakness
CWE-639 · Authorization Bypass Through User-Controlled Key
Published
2022-02-20T00:00Z
EPSS history
Timeline
  • 20 FEB 00:00Z
    Authorization Bypass Through User-Controlled Key in unshiftio/url-parse
    cvelistv5