CVE-2019-15606CWE-20

Including trailing white space in HTTP header values in Nodejs 10, 12, and 13 causes bypass of authorization based on header value comparisons

published February 7, 2020

CVSS
—
EPSS
20%
Percentile
97.4
In the wild
Unconfirmed
What it is

⚠️ A sneaky trailing white space in HTTP headers could let you bypass authorization checks in Node.js versions 10, 12, and 13! Think of it like a restaurant order where the waiter gets distracted and misses a crucial detail—a missing 'no mayo' note on your sandwich. The end result? You might find yourself with an unwanted topping because the system didn't check the order correctly! This vulnerability could allow an attacker to manipulate the authorization process, meaning they might gain access to resources they shouldn't. Imagine someone slipping through the back door of a secured area just because a detail was overlooked—seriously risky!

Put simply

Think of it like a restaurant order where the waiter gets distracted and misses a crucial detail—a missing 'no mayo' note on your sandwich. The end result? You might find yourself with an unwanted topping because the system didn't check the order correctly! In this case, unauthorized access occurs due to the server's failure to trim trailing white spaces in HTTP header values when comparing them for authorization, leading to incorrect access decisions.

What to do

This vulnerability could allow an attacker to manipulate the authorization process, meaning they might gain access to resources they shouldn't. Imagine someone slipping through the back door of a secured area just because a detail was overlooked—seriously risky! To protect yourself, update to Node.js version 14 or later, where this issue has been addressed. Also, review your application's handling of HTTP headers to ensure whitespace is properly managed. Regular audits can help catch similar sneaky issues! You've got this! By implementing these steps, you'll be one step closer to securing your application. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.20041 · 97.4th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2020-02-07T14:58Z
EPSS history
Timeline
  • 07 FEB 14:58Z
    Including trailing white space in HTTP header values in Nodejs 10, 12, and 13 causes bypass of authorization based on header value comparisons
    cvelistv5