{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.commons:commons-vfs2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-27553 in the wild and no public exploit code.","fix":"Upgrade org.apache.commons:commons-vfs2 to 2.10.0 or later.","what":"CVE-2025-27553 is a high-severity path traversal vulnerability in Apache Commons VFS, published on 23 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-27553 and fix it if it is affected.\n\nWhat it is: CVE-2025-27553 is a high-severity path traversal vulnerability in Apache Commons VFS, published on 23 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-27553 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.commons:commons-vfs2 (Maven): affected all versions; fixed in 2.10.0\n- org.apache.commons:commons-vfs2 (Maven): affected all versions; fixed in 2.10.0\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-2025-27553/ (Markdown: https://insights.sbomify.com/CVE-2025-27553/index.md)","id":"CVE-2025-27553","markdown":"https://insights.sbomify.com/CVE-2025-27553/index.md","name":"CVE-2025-27553","record":{"aliases":["CLSA-2026-1784164089","DEBIAN-CVE-2025-27553","DLA-4111-1","GHSA-9q4x-fr4m-jp86","OESA-2025-1940","OESA-2025-1941","OESA-2025-1942","RHSA-2025:10548","UBUNTU-CVE-2025-27553"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Java virtual file system library","requires_auth":"none","summary":"Attackers can bypass path restrictions in Apache Commons VFS using encoded traversal sequences, potentially accessing or modifying files outside the intended directory.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"commons_vfs","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-23","name":"Relative Path Traversal"}],"description":"Relative Path Traversal vulnerability in Apache Commons VFS before 2.10.0.\n\nThe FileObject API in Commons VFS has a 'resolveFile' method that\ntakes a 'scope' parameter. Specifying 'NameScope.DESCENDENT' promises that \"an exception is thrown if the resolved file is not a descendent of\nthe base file\". However, when the path contains encoded \"..\"\ncharacters (for example, \"%2E%2E/bar.txt\"), it might return file objects that are not\na descendent of the base file, without throwing an exception.\nThis issue affects Apache Commons VFS: before 2.10.0.\n\nUsers are recommended to upgrade to version 2.10.0, which fixes the issue.","ecosystems":["Maven","Red Hat:rhel_els:7"],"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":"Apache Commons VFS: Possible path traversal issue when using NameScope.DESCENDENT","id":"CVE-2025-27553","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":6,"n_references":1,"next":{"headline":"Code injection in ToDesktop","id":"CVE-2025-27554"},"packages":[{"ecosystem":"Maven","fixed":["2.10.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.commons:commons-vfs2","purl":null,"source":"GHSA-9q4x-fr4m-jp86"},{"ecosystem":"Maven","fixed":["2.10.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.commons:commons-vfs2","purl":"pkg:maven/org.apache.commons/commons-vfs2","source":"GHSA-9q4x-fr4m-jp86"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:2.0-11.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-vfs","purl":"pkg:rpm/redhat/apache-commons-vfs","source":"RHSA-2025:10548"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:2.0-11.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-vfs-ant","purl":"pkg:rpm/redhat/apache-commons-vfs-ant","source":"RHSA-2025:10548"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:2.0-11.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-vfs-examples","purl":"pkg:rpm/redhat/apache-commons-vfs-examples","source":"RHSA-2025:10548"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:2.0-11.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-vfs-javadoc","purl":"pkg:rpm/redhat/apache-commons-vfs-javadoc","source":"RHSA-2025:10548"}],"prev":{"headline":"Weak cryptography in DBIx::Class::EncodedColumn","id":"CVE-2025-27552"},"products":["Apache Commons VFS"],"published":"2025-03-23","related":[{"cvss_score":5,"headline":"Apache Commons VFS: Failing to find an FTP file can reveal the URI's password in an error message","id":"CVE-2025-30474","kev_date_added":null,"published":"2025-03-23"}],"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":"Red Hat","prefix":"RHSA"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-02","vendors":["Apache Software Foundation"]},"summary":"Attackers can bypass path restrictions in Apache Commons VFS using encoded traversal sequences, potentially accessing or modifying files outside the intended directory.","url":"https://insights.sbomify.com/CVE-2025-27553/"}