{"id":29238,"date":"2022-08-14T06:39:53","date_gmt":"2022-08-14T02:39:53","guid":{"rendered":"https:\/\/cve.report\/CVE-2022-36007"},"modified":"2022-08-14T06:39:53","modified_gmt":"2022-08-14T02:39:53","slug":"cve-2022-36007","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2022-36007\/","title":{"rendered":"CVE-2022-36007"},"content":{"rendered":"<p>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: `[ &quot;\/Users\/foo\/resources&quot; ]` When passing **relative** paths to these two vulnerable functions everything is fine: `(load-resource &quot;test.png&quot;)` =&gt; loads the file &quot;\/Users\/foo\/resources\/test.png&quot; `(load-resource &quot;..\/resources-alt\/test.png&quot;)` =&gt; 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 &quot;\/Users\/foo\/resources\/test.png&quot;)` =&gt; loads the file &quot;\/Users\/foo\/resources\/test.png&quot; `(load-resource &quot;\/Users\/foo\/resources-alt\/test.png&quot;)` =&gt; loads the file &quot;\/Users\/foo\/resources-alt\/test.png&quot; !!! The latter call suffers from the _Partial Path Traversal_ vulnerability. This issue&rsquo;s scope is limited to absolute paths whose name prefix matches a load path. E.g. for a load-path `&quot;\/Users\/foo\/resources&quot;`, the actor can cause loading a resource also from `&quot;\/Users\/foo\/resources-alt&quot;`, but not from `&quot;\/Users\/foo\/images&quot;`. Versions of Venice before and including v1.10.17 are affected by this issue. Upgrade to Venice &gt;= 1.10.18, if you are on a version &lt; 1.10.18. There are currently no known workarounds. <\/p>\n<p><a href=\"https:\/\/afaghhosting.net\">\u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u0631\u0648\u0631\u060c \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0648 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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: `[ &quot;\/Users\/foo\/resources&quot; ]` When passing **relative** paths to &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-29238","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/29238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=29238"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/29238\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=29238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=29238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=29238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}