{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-31046 exists.","fix":"No fix has been published for CVE-2023-31046 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-31046 is a medium-severity path traversal vulnerability in n/a, published on 19 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-31046 and fix it if it is affected.\n\nWhat it is: CVE-2023-31046 is a medium-severity path traversal vulnerability in n/a, published on 19 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-31046 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2023-31046/ (Markdown: https://insights.sbomify.com/CVE-2023-31046/index.md)","id":"CVE-2023-31046","markdown":"https://insights.sbomify.com/CVE-2023-31046/index.md","name":"CVE-2023-31046","record":{"aliases":["GHSA-272r-9398-x32j"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"PaperCut print management","requires_auth":"low_privilege","summary":"An authenticated attacker can exploit a path traversal flaw in PaperCut to read arbitrary files from the server filesystem.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"papercut_mf","vendor":"papercut"},{"product":"papercut_ng","vendor":"papercut"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A Path Traversal vulnerability exists in PaperCut NG before 22.1.1 and PaperCut MF before 22.1.1. Under specific conditions, this could potentially allow an authenticated attacker to achieve read-only access to the server's filesystem, because requests beginning with \"GET /ui/static/..//..\" reach getStaticContent in UIContentResource.class in the static-content-files servlet.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"Path traversal in n/a","id":"CVE-2023-31046","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":0,"n_references":4,"next":{"headline":"Django bypasses validation when using one form field to upload multiple files","id":"CVE-2023-31047"},"packages":[],"prev":{"headline":"Cross-site Scripting in Backdrop CMS","id":"CVE-2023-31045"},"products":["n/a"],"published":"2023-10-19","related":[{"cvss_score":9.8,"headline":"PaperCut MF/NG Improper Access Control","id":"CVE-2023-27350","kev_date_added":"2023-04-21","published":"2023-04-20"},{"cvss_score":9.4,"headline":"PaperCut NG/MF Unsafe Reflection","id":"CVE-2026-82078","kev_date_added":"2026-08-31","published":"2026-08-28"},{"cvss_score":8.8,"headline":"PaperCut NG/MF Missing Authentication for Critical Function","id":"CVE-2026-81578","kev_date_added":"2026-08-31","published":"2026-08-28"},{"cvss_score":8.4,"headline":"PaperCut NG/MF Cross-Site Request Forgery (CSRF)","id":"CVE-2023-2533","kev_date_added":"2025-07-28","published":"2023-06-20"},{"cvss_score":8.2,"headline":"PaperCut NG/MF Improper Authentication","id":"CVE-2023-27351","kev_date_added":"2026-04-20","published":"2023-04-20"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2023-39143","kev_date_added":null,"published":"2023-08-04"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2019-12135","kev_date_added":null,"published":"2019-06-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-13","vendors":["n/a"]},"summary":"An authenticated attacker can exploit a path traversal flaw in PaperCut to read arbitrary files from the server filesystem.","url":"https://insights.sbomify.com/CVE-2023-31046/"}