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
Incomplete redaction re-attaches the original error path in AshGraphql, leaking internal field names
Vulnerability Description
Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_graphql allows a remote client to read internal field names that an application configured its error_handler to redact.
In AshGraphql.Errors, each error is passed to the configured error_handler and the returned map is merged with the pre-handler path via Map.put_new(handled, :path, path). Because put_new defers to the handler only when the handler itself set :path, a sanitizing handler that returns a fresh map or deletes :path has that decision reverted. The re-injected path comes from build_error_path/5, which falls back to raw internal Ash attribute and argument names when no field_names mapping is configured. A validation failure on a non-exposed or nested field therefore returns internal names in the GraphQL error path, defeating the application's redaction.
This issue affects ash_graphql: from 1.9.0 before 1.11.0.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
通过错误消息导致的信息暴露
Vulnerability Title
Ash Framework AshGraphql 信息泄露漏洞
Vulnerability Description
Ash Framework AshGraphql是Ash Framework组织的一个提供GraphQL接口的开发框架。 Ash Framework AshGraphql 1.9.0版本至1.11.0之前版本存在信息泄露漏洞,该漏洞源于错误处理过程中路径信息被重新注入,当未配置field_names映射时错误路径会回退到内部字段名称,导致远程客户端能够读取内部字段名称。
CVSS Information
N/A
Vulnerability Type
N/A