A vulnerability was found in xataio Xata Agent up to 0.3.0. It has been classified as problematic. This affects the function GET of the file apps/dbagent/src/app/api/evals/route.ts. The manipulation of the argument passed leads to path traversal. Upgrading to version 0.3.1 is able to address this issue. The patch is named 03f27055e0cf5d4fa7e874d34ce8c74c7b9086cc. It is recommended to upgrade the affected component.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://vuldb.com/?id.313287 | technical description vdb entry |
https://vuldb.com/?ctiid.313287 | permissions required signature |
https://vuldb.com/?submit.593627 | third party advisory |
https://github.com/xataio/agent/issues/179 | issue tracking |
https://github.com/xataio/agent/pull/191 | issue tracking |
https://github.com/xataio/agent/commit/03f27055e0cf5d4fa7e874d34ce8c74c7b9086cc | patch |
https://github.com/xataio/agent/releases/tag/v0.3.1 | patch |