{"answers":{"affected":"15 open source packages ship an affected version, including trytond. It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-0360 in the wild and no public exploit code.","fix":"Upgrade trytond to 4.2.3 or later.","what":"CVE-2017-0360 is a medium-severity path traversal vulnerability in tryton-server before 3.4.0-3+deb8u3, published on 4 Apr 2017. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-0360 and fix it if it is affected.\n\nWhat it is: CVE-2017-0360 is a medium-severity path traversal vulnerability in tryton-server before 3.4.0-3+deb8u3, published on 4 Apr 2017. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-0360 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- trytond (PyPI): affected from 3; fixed in 4.2.3\n- trytond (PyPI): affected from 3.0.0 up to 3.0.17; no fix listed\n- trytond (PyPI): affected from 3.0.0 up to 3.0.17; no fix listed\n- trytond (PyPI): affected from 3.2.0 up to 3.2.17; no fix listed\n- trytond (PyPI): affected from 3.2.0 up to 3.2.17; no fix listed\n- trytond (PyPI): affected from 3.4.0 up to 3.4.17; no fix listed\n- trytond (PyPI): affected from 3.4.0 up to 3.4.17; no fix listed\n- trytond (PyPI): affected from 3.6.0 up to 3.6.16; no fix listed\n- trytond (PyPI): affected from 3.6.0 up to 3.6.16; no fix listed\n- trytond (PyPI): affected from 3.8.0 up to 3.8.14; no fix listed\n- trytond (PyPI): affected from 3.8.0 up to 3.8.14; no fix listed\n- trytond (PyPI): affected from 4.0.0 up to 4.0.9; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2017-0360/ (Markdown: https://insights.sbomify.com/CVE-2017-0360/index.md)","id":"CVE-2017-0360","markdown":"https://insights.sbomify.com/CVE-2017-0360/index.md","name":"CVE-2017-0360","record":{"aliases":["DEBIAN-CVE-2017-0360","DLA-882-1","DSA-3826-1","GHSA-7cwg-2575-3546","PYSEC-2017-97","UBUNTU-CVE-2017-0360"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Tryton ERP server","requires_auth":"low_privilege","summary":"Authenticated attackers can read arbitrary files on the server via a path traversal flaw in the file opening mechanism.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"debian","cpe":[{"product":"tryton","vendor":"tryton"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"file_open in Tryton 3.x and 4.x through 4.2.2 allows remote authenticated users with certain permissions to read arbitrary files via a \"same root name but with a suffix\" attack. NOTE: This vulnerability exists because of an incomplete fix for CVE-2016-1242.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Tryton Information Disclosure Vulnerability","id":"CVE-2017-0360","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2017"},"n_packages":15,"n_references":4,"next":{"headline":"api.log contains passwords in plaintext","id":"CVE-2017-0361"},"packages":[{"ecosystem":"PyPI","fixed":["4.2.3"],"introduced":["3"],"last_affected":[],"package":"trytond","purl":"pkg:pypi/trytond","source":"PYSEC-2017-97"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.0.0"],"last_affected":["3.0.17"],"package":"trytond","purl":null,"source":"GHSA-7cwg-2575-3546"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.0.0"],"last_affected":["3.0.17"],"package":"trytond","purl":"pkg:pypi/trytond","source":"GHSA-7cwg-2575-3546"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.2.0"],"last_affected":["3.2.17"],"package":"trytond","purl":null,"source":"GHSA-7cwg-2575-3546"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.2.0"],"last_affected":["3.2.17"],"package":"trytond","purl":"pkg:pypi/trytond","source":"GHSA-7cwg-2575-3546"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.4.0"],"last_affected":["3.4.17"],"package":"trytond","purl":null,"source":"GHSA-7cwg-2575-3546"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.4.0"],"last_affected":["3.4.17"],"package":"trytond","purl":"pkg:pypi/trytond","source":"GHSA-7cwg-2575-3546"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.6.0"],"last_affected":["3.6.16"],"package":"trytond","purl":null,"source":"GHSA-7cwg-2575-3546"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.6.0"],"last_affected":["3.6.16"],"package":"trytond","purl":"pkg:pypi/trytond","source":"GHSA-7cwg-2575-3546"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.8.0"],"last_affected":["3.8.14"],"package":"trytond","purl":null,"source":"GHSA-7cwg-2575-3546"},{"ecosystem":"PyPI","fixed":[],"introduced":["3.8.0"],"last_affected":["3.8.14"],"package":"trytond","purl":"pkg:pypi/trytond","source":"GHSA-7cwg-2575-3546"},{"ecosystem":"PyPI","fixed":[],"introduced":["4.0.0"],"last_affected":["4.0.9"],"package":"trytond","purl":null,"source":"GHSA-7cwg-2575-3546"},{"ecosystem":"PyPI","fixed":[],"introduced":["4.0.0"],"last_affected":["4.0.9"],"package":"trytond","purl":"pkg:pypi/trytond","source":"GHSA-7cwg-2575-3546"},{"ecosystem":"PyPI","fixed":["4.2.3"],"introduced":["4.2.0"],"last_affected":[],"package":"trytond","purl":null,"source":"GHSA-7cwg-2575-3546"},{"ecosystem":"PyPI","fixed":["4.2.3"],"introduced":["4.2.0"],"last_affected":[],"package":"trytond","purl":"pkg:pypi/trytond","source":"GHSA-7cwg-2575-3546"}],"prev":{"headline":"diffoscope writes to arbitrary locations on disk based on the contents of an untrusted archive","id":"CVE-2017-0359"},"products":["tryton-server before 3.4.0-3+deb8u3"],"published":"2017-04-04","related":[{"cvss_score":8.8,"headline":"Tryton vulnerable to arbitrary command execution","id":"CVE-2014-6633","kev_date_added":null,"published":"2018-04-12"},{"cvss_score":7.8,"headline":"Tryton Directory Traversal vulnerability","id":"CVE-2013-4510","kev_date_added":null,"published":"2013-11-15"},{"cvss_score":5.9,"headline":"Session Fixation in Tryton","id":"CVE-2018-19443","kev_date_added":null,"published":"2018-11-22"},{"cvss_score":5.3,"headline":"Tryton allows users to read the hashed password","id":"CVE-2016-1241","kev_date_added":null,"published":"2016-09-07"},{"cvss_score":4.4,"headline":"Tryton allow authenticated users with certain permissions to read arbitrary files via the name parameter","id":"CVE-2016-1242","kev_date_added":null,"published":"2016-09-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Authenticated attackers can read arbitrary files on the server via a path traversal flaw in the file opening mechanism.","url":"https://insights.sbomify.com/CVE-2017-0360/"}