GHSA-3fvf-2gp4-89wq: Barryvdh/laravel translation manager Denial of Service Vulnerability
MODERATEGHSA-3fvf-2gp4-89wq is a MODERATE denial of service vulnerability (General Security Weakness) affecting Barryvdh/laravel translation manager libraries in the Packagist ecosystem. The issue involves possibility for denial of service by overwriting php files with language exports. Remediation is available by upgrading affected packages to version 0.6.2.
GHSA-3fvf-2gp4-89wq at a Glance
How to Fix GHSA-3fvf-2gp4-89wq
To remediate this vulnerability, upgrade all affected Barryvdh/laravel translation manager dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade barryvdh/laravel-translation-manager to 0.6.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for barryvdh/laravel-translation-manager
How to Check if You Are Affected
To determine whether your application is affected by GHSA-3fvf-2gp4-89wq, inspect your project dependencies for Barryvdh/laravel translation manager:
inspect dependencies for barryvdh/laravel-translation-manager
Analyze the terminal output to locate any version of Barryvdh/laravel translation manager in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Barryvdh/laravel translation manager, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-3fvf-2gp4-89wq Affected Barryvdh/laravel translation manager Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
barryvdh/laravel-translation-manager
|
Packagist |
< 0.6.2
|
0.6.2
|
References
Frequently Asked Questions
What is GHSA-3fvf-2gp4-89wq?
Which Barryvdh/laravel translation manager versions are affected?
What version fixes GHSA-3fvf-2gp4-89wq?
Is barryvdh/laravel-translation-manager affected?
What CWE is associated with GHSA-3fvf-2gp4-89wq?
How can I check Packagist dependencies for GHSA-3fvf-2gp4-89wq?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3fvf-2gp4-89wq",
"modified" : "2022-03-18T23:17:15Z",
"published" : "2022-03-18T23:17:15Z",
"aliases" : [ ],
"summary" : "Possibility for Denial of Service by overwriting PHP files with language exports",
"details" : "### 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/)",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "barryvdh/laravel-translation-manager"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.6.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/barryvdh/laravel-translation-manager/security/advisories/GHSA-3fvf-2gp4-89wq"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/barryvdh/laravel-translation-manager"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-03-18T23:17:15Z",
"nvd_published_at" : null
}
}