CVE-2021-38384
JavaScript vulnerability analysis and mitigation

Overview

Serverless Offline version 8.0.0 contains a vulnerability where it incorrectly returns a 403 HTTP status code for routes with a trailing slash character when using custom authorizers. This behavior differs from the actual Amazon AWS environment, which returns a 200 HTTP status code for the same requests (GitHub Issue).

Technical details

The vulnerability occurs in the authorization handling of API routes. When a route is defined with a trailing slash and protected by a custom authorizer, Serverless Offline 8.0.0 incorrectly evaluates the authorization policy, resulting in false negative access denials. The issue has been assigned a CVSS v3.1 base score of 9.8 CRITICAL with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could lead to developers implementing incorrect access control mechanisms based on the false behavior observed in local testing. This discrepancy between local and production environments might result in security controls that are either too permissive or too restrictive, potentially leading to unauthorized access in production environments (NVD).

Mitigation and workarounds

Developers should be aware of this behavioral difference when testing API authorization locally. It is recommended to test authorization policies both locally and in a deployed AWS environment to ensure correct access control implementation (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23744CRITICAL9.8
  • JavaScriptJavaScript
  • @mcpjam/inspector
NoYesJan 16, 2026
CVE-2026-23735HIGH8.7
  • JavaScriptJavaScript
  • graphql-modules
NoYesJan 16, 2026
GHSA-gw32-9rmw-qwwwHIGH8.4
  • JavaScriptJavaScript
  • svelte
NoYesJan 16, 2026
CVE-2026-23745HIGH8.2
  • JavaScriptJavaScript
  • argo-workflows-fips-3.6
NoYesJan 16, 2026
GHSA-38cw-85xc-xr9xMEDIUM6.8
  • JavaScriptJavaScript
  • @veramo/data-store
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management