漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
@fastify/aws-lambda vulnerable to Lambda event spoofing via client-controlled x-apigateway-event header
Vulnerability Description
@fastify/aws-lambda version 6.4.0 decorates each Fastify request with request.awsLambda.event and request.awsLambda.context, values that applications are documented to use for authorization decisions such as reading API Gateway authorizer claims. In the default configuration, the getter that populates this decoration reads the client-controlled x-apigateway-event and x-apigateway-context HTTP headers before falling back to the trusted internal request token, and those reserved headers are not stripped from the incoming event. An unauthenticated attacker who can set a single HTTP header can therefore forge the entire Lambda proxy event, including the authorizer context, and override the genuine one. This results in a full authentication and authorization bypass and privilege escalation for any application that trusts request.awsLambda.event for identity or access control. Only version 6.4.0 is affected. Patches: upgrade to @fastify/aws-lambda 6.4.1, which resolves the decoration only through the internal per-invocation token and strips the reserved headers before the request is processed.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Vulnerability Type
对数据真实性的验证不充分
Vulnerability Title
Fastify @fastify/aws-lambda 输入验证错误漏洞
Vulnerability Description
Fastify @fastify/aws-lambda是Fastify组织的一个在无服务器环境下运行Web应用的适配插件。 Fastify @fastify/aws-lambda 6.4.0版本存在输入验证错误漏洞,该漏洞源于对客户端控制的x-apigateway-event和x-apigateway-context HTTP头处理不当,可能导致未经身份验证的攻击者伪造Lambda代理事件并覆盖真实事件,从而绕过身份验证和授权,实现权限提升。
CVSS Information
N/A
Vulnerability Type
N/A