CVE-2024-58367
SurrealDB versions before 2.0.4 fail to properly enforce field …
SurrealDB versions before 2.0.4 fail to properly enforce field permissions during SELECT, UPDATE, and DELETE operations, allowing authorized users to access unauthorized field values through various query techniques. Attackers can exploit SELECT VALUE operations, field aliasing, function arguments, WHERE clause filtering, RETURN BEFORE clauses, and SET clause references to leak protected field contents despite lacking SELECT permissions.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/surrealdb/surrealdb/security/advisories/GHSA-9722-9j67-vjcr
- www.vulncheck.com/advisories/surrealdb-before-improper-authorization-via-select-permission
- github.com/surrealdb/surrealdb/issues/2161
- github.com/surrealdb/surrealdb/issues/3924
- github.com/surrealdb/surrealdb/pull/4785
- github.com/surrealdb/surrealdb/pull/4800
- github.com/surrealdb/surrealdb/pull/4873
- github.com/surrealdb/surrealdb/commit/439ab99e15314ec5cf87047bf58246db646e3f8c
- nvd.nist.gov/vuln/detail/CVE-2024-58367
- cve.org/CVERecord?id=CVE-2024-58367
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.