目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-49756— AshPostgres 安全漏洞

一分钟漏洞结论

影响对象
ash-project ash_postgres
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

AshPostgres是Ash Framework开源的一个 Ash Framework 的 PostgreSQL 数据层。 AshPostgres 2.0.0至2.4.10之前版本存在安全漏洞,该漏洞源于在特定情况下更新操作的策略可能被跳过,导致不应触发的hooks被执行。

CVSS 5.3 · Medium EPSS 0.51% · P42
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2024-49756 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
AshPostgres empty, atomic, non-bulk actions, policy bypass for side-effects vulnerability.
来源: CVE Program / CVE List V5
Vulnerability Description
AshPostgres is the PostgreSQL data layer for Ash Framework. Starting in version 2.0.0 and prior to version 2.4.10, in certain very specific situations, it was possible for the policies of an update action to be skipped. This occurred only on "empty" update actions (no changing fields), and would allow their hooks (side effects) to be performed when they should not have been. Note that this does not allow reading new data that the user should not have had access to, only triggering a side effect a user should not have been able to trigger. To be vulnerable, an affected user must have an update action that is on a resource with no attributes containing an "update default" (updated_at timestamp, for example); can be performed atomically; does not have `require_atomic? false`; has at least one authorizer (typically `Ash.Policy.Authorizer`); and has at least one `change` (on the resource's `changes` block or in the action itself). This is where the side-effects would be performed when they should not have been. This problem has been patched in `2.4.10` of `ash_postgres`. Several workarounds are available. Potentially affected users may determine that none of their actions are vulnerable using a script the maintainers provide in the GitHub Security Advisory, add `require_atomic? false` to any potentially affected update action, replace any usage of `Ash.update` with `Ash.bulk_update` for an affected action, and/or add an update timestamp to their action.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
对外部实体的文件或目录可访问
来源: CVE Program / CVE List V5
Vulnerability Title
AshPostgres 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
AshPostgres是Ash Framework开源的一个 Ash Framework 的 PostgreSQL 数据层。 AshPostgres 2.0.0至2.4.10之前版本存在安全漏洞,该漏洞源于在特定情况下更新操作的策略可能被跳过,导致不应触发的hooks被执行。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
ash-project ash_postgres >= 2.0.0, < 2.4.10 -

二、漏洞 CVE-2024-49756 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2024-49756 的情报信息

请登录查看更多情报信息。

CVE-2024-49756 其他参考 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-49756

暂无评论


发表评论