{"answers":{"affected":"2 open source packages ship an affected version, including barryvdh/laravel-translation-manager.","exploited":"There is no known exploitation of GHSA-3fvf-2gp4-89wq in the wild and no public exploit code.","fix":"Upgrade barryvdh/laravel-translation-manager to 0.6.2 or later.","what":"GHSA-3fvf-2gp4-89wq is a path traversal vulnerability in barryvdh/laravel-translation-manager, published on 18 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-3fvf-2gp4-89wq and fix it if it is affected.\n\nWhat it is: GHSA-3fvf-2gp4-89wq is a path traversal vulnerability in barryvdh/laravel-translation-manager, published on 18 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-3fvf-2gp4-89wq in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- barryvdh/laravel-translation-manager (Packagist): affected all versions; fixed in 0.6.2\n- barryvdh/laravel-translation-manager (Packagist): affected all versions; fixed in 0.6.2\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/GHSA-3fvf-2gp4-89wq/ (Markdown: https://insights.sbomify.com/GHSA-3fvf-2gp4-89wq/index.md)","id":"GHSA-3fvf-2gp4-89wq","markdown":"https://insights.sbomify.com/GHSA-3fvf-2gp4-89wq/index.md","name":"GHSA-3fvf-2gp4-89wq","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Laravel translation library","requires_auth":"low_privilege","summary":"An attacker with translation management access can cause denial of service by exploiting a path traversal vulnerability in locale exports.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\nLaravel Translation Manager didn't check the locale name, which allowed directory traversal when exporting files. The content would be a PHP file returning an array of translations, but this could lead to unexpected results, like denial of service. Access to the Laravel Translation Manager is required, because a new locale would have to be added and published.\n\n### Patches\nVersion 0.6.2 fixes this issue.\n\n### Workarounds\nOnly allow trusted admins to publish/edit translations.\n\n### References\nhttps://github.com/barryvdh/laravel-translation-manager/pull/417\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in https://github.com/barryvdh/laravel-translation-manager\n* Email me (see Github profile)\n\n### Credits\nFound and reported by [Natalia Trojanowska](https://www.linkedin.com/in/trojanowskanatalia/)","ecosystems":["Packagist"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Possibility for Denial of Service by overwriting PHP files with language exports","id":"GHSA-3fvf-2gp4-89wq","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"path_traversal","year":"2022"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["0.6.2"],"introduced":["0"],"last_affected":[],"package":"barryvdh/laravel-translation-manager","purl":null,"source":"GHSA-3fvf-2gp4-89wq"},{"ecosystem":"Packagist","fixed":["0.6.2"],"introduced":["0"],"last_affected":[],"package":"barryvdh/laravel-translation-manager","purl":"pkg:composer/barryvdh/laravel-translation-manager","source":"GHSA-3fvf-2gp4-89wq"}],"products":null,"published":"2022-03-18","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"An attacker with translation management access can cause denial of service by exploiting a path traversal vulnerability in locale exports.","url":"https://insights.sbomify.com/GHSA-3fvf-2gp4-89wq/"}