SurrealDBで削除拒否のエラーから参照レコードの情報が漏えいする脆弱性
Summary
SurrealDB 2.2.0から4.0.0未満に脆弱性があり、ON DELETE REJECTの参照で削除が拒否された際のエラーに、参照している行のレコードIDが含まれます。DELETE権限を持つ利用者は、SELECT権限で見えない行の存在や正確なIDを知ることができます。影響を受けるのは2.2.0以上4.0.0未満で、4.0.0で修正されています。CVSS v4は7.1です。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
SurrealDB 2.2.0から4.0.0未満に脆弱性があり、ON DELETE REJECTの参照で削除が拒否された際のエラーに、参照している行のレコードIDが含まれます。DELETE権限を持つ利用者は、SELECT権限で見えない行の存在や正確なIDを知ることができます。影響を受けるのは2.2.0以上4.0.0未満で、4.0.0で修正されています。CVSS v4は7.1です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| surrealdbsurrealdb |
≥ 2.2.0, < 4.0.0→ 4.0.0 |
4.0.0 |
Original description The description as published by the source.
SurrealDB 2.2.0 before 4.0.0 includes the record id of a referencing row in the error returned when a delete is blocked by an ON DELETE REJECT reference, without checking the caller's SELECT permission on that row. An authenticated principal with DELETE permission can attempt to delete a referenced record and read the rejection error to learn the existence and exact ids of referencing records hidden by row-level SELECT permissions.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com