Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Orval: Import-time RCE via header parameter name -> computed-property-key injection in the zod client
Vulnerability Description
Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, a double quote in a header parameter name is emitted into the generated request-validation zod.object({...}) schema without safe encoding. This permits attacker-controlled JavaScript to be evaluated when the generated zod schema module is imported, resulting in code execution in the developer, CI, test, or application environment. The affected code is packages/zod/src/index.ts and header request-validation generation. This issue is fixed in version 8.21.0.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Vulnerability Title
orval-labs orval 输出处理不当漏洞
Vulnerability Description
orval-labs orval是orval-labs组织的一款服务器设备与网络产品。 orval-labs orval 8.21.0之前版本存在安全漏洞,该漏洞源于header参数名中的双引号未安全编码,可能导致在开发者、CI、测试或应用程序环境中执行攻击者控制的代码。
CVSS Information
N/A
Vulnerability Type
N/A