Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade @nocobase/database to version 2.0.39 or higher.
@nocobase/database is a
Affected versions of this package are vulnerable to SQL Injection via the queryParentSQL function. An attacker can execute arbitrary SQL commands, extract sensitive data, modify or delete database records, and potentially cause denial of service by injecting malicious input into string-type primary key fields when recursive eager loading is triggered on a tree collection. This is only exploitable if the attacker has permission to create records in a collection with string-type primary keys and recursive eager loading is enabled.
This vulnerability can be mitigated by validating primary key values at record creation time and rejecting or escaping values containing SQL metacharacters such as ', ", ;, and --.