{"id":"CVE-2022-36007","published":"2022-08-14T00:25:10Z","modified":"2025-04-22T17:41:52Z","title":"Partial Path Traversal in com.github.jlangch:venice","vendor":"jlangch","product":"venice","tier":"tail","description":{"text":"Venice is a Clojure inspired sandboxed Lisp dialect with excellent Java interoperability. A partial path traversal issue exists within the functions `load-file` and `load-resource`. These functions can be limited to load files from a list of load paths. Assuming Venice has been configured with the load paths: `[ \"/Users/foo/resources\" ]` When passing **relative** paths to these two vulnerable functions everything is fine: `(load-resource \"test.png\")` => loads the file \"/Users/foo/resources/test.png\" `(load-resource \"../resources-alt/test.png\")` => rejected, outside the load path When passing **absolute** paths to these two vulnerable functions Venice may return files outside the configured load paths: `(load-resource \"/Users/foo/resources/test.png\")` => loads the file \"/Users/foo/resources/test.png\" `(load-resource \"/Users/foo/resources-alt/test.png\")` => loads the file \"/Users/foo/resources-alt/test.png\" !!! The latter call suffers from the _Partial Path Traversal_ vulnerability. This issue’s scope is limited to absolute paths whose name prefix matches a load path. E.g. for a load-path `\"/Users/foo/resources\"`, the actor can cause loading a resource also from `\"/Users/foo/resources-alt\"`, but not from `\"/Users/foo/images\"`. Versions of Venice before and including v1.10.17 are affected by this issue. Upgrade to Venice >= 1.10.18, if you are on a version < 1.10.18. There are currently no known workarounds.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00431,"percentile":0.38142,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/jlangch/venice/security/advisories/GHSA-4mmh-5vw7-rgvj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jlangch/venice/commit/215ae91bb964013b0a2d70718a692832d561ae0a","tags":["x_refsource_MISC"]},{"url":"https://github.com/jlangch/venice/commit/c942c73136333bc493050910f171a48e6f575b23","tags":["x_refsource_MISC"]},{"url":"https://github.com/jlangch/venice/releases/tag/v1.10.17","tags":["x_refsource_MISC"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":7.63},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"jlangch","affectedVersions":[{"vendor":"jlangch","product":"venice","versions":["<= 1.10.16"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-22T15:45:03.645030Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.github.jlangch:venice","vulnerableRanges":["<1.10.17"],"patched":["1.10.17"],"from":["GHSA-4mmh-5vw7-rgvj"],"provenance":"source"}],"summary":{"text":"The Venice Clojure-inspired sandboxed Lisp dialect (jlangch:venice) has a partial path traversal flaw in its load-file and load-resource functions, which fail to enforce load-path restrictions on absolute paths. An actor with local access and low privileges who can run Venice code can use an absolute path whose name prefix matches a configured load path (for example, a sibling directory such as \"resources-alt\" next to \"resources\") to read files outside the allowed load paths, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:55Z"},"euvd":{"id":"EUVD-2022-6481","exploited":false,"provenance":"source"}}