CVE-2021-38384

Serverless Offline 8.0.0 returns a 403 HTTP status code for a route that has a trailing / character, which might cause a developer to implement incorrect…

published August 10, 2021

CVSS
—
EPSS
1%
Percentile
73.4
In the wild
Unconfirmed
What it is

⚠️ A sneaky HTTP response can throw your security off-balance! Serverless Offline 8.0.0 returns a 403 status for requests with a trailing /, unlike AWS which says 200 — that’s a potentially serious mix-up! 🔥 Think of it like a restaurant that tells you to wait outside if you don’t specify if you want a table or just a drink — you think your entry is blocked, but inside, the staff is ready to serve you a full meal. This discrepancy can lead to developers mistakenly believing they have stricter permissions than they truly do. If a developer misinterprets this response, they might implement incorrect access controls, allowing unauthorized access to sensitive resources. This could lead to sensitive data exposure or even user impersonation — yikes!

Put simply

Think of it like a restaurant that tells you to wait outside if you don’t specify if you want a table or just a drink — you think your entry is blocked, but inside, the staff is ready to serve you a full meal. This discrepancy can lead to developers mistakenly believing they have stricter permissions than they truly do. This vulnerability arises because Serverless Offline 8.0.0 incorrectly distinguishes between URLs with and without a trailing slash, leading to misleading HTTP status codes that impact access control decisions.

What to do

If a developer misinterprets this response, they might implement incorrect access controls, allowing unauthorized access to sensitive resources. This could lead to sensitive data exposure or even user impersonation — yikes! To mitigate this issue, ensure all routes are tested with and without the trailing slash in your development environment. Update to the latest version of Serverless Offline to take advantage of any bug fixes related to this behavior. Consider implementing additional checks for access control in your application. You've got this! With a little attention, you can lock everything down and keep your application secure! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01460 · 73.4th percentile
Published
2021-08-10T17:35Z
EPSS history
Timeline
  • 10 AUG 17:35Z
    Serverless Offline 8.0.0 returns a 403 HTTP status code for a route that has a trailing / character, which might cause a developer to implement incorrect…
    cvelistv5