GHSA-x86x-qhf8-f37w: Willdurand/js translation bundle Path Traversal Vulnerability
CRITICALGHSA-x86x-qhf8-f37w is a CRITICAL (CVSS 9.8) path traversal vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting Willdurand/js translation bundle libraries in the Packagist ecosystem. The issue involves willdurand/js-translation-bundle potential path traversal attack and remote code injection. Remediation is available by upgrading affected packages to version 2.1.1.
GHSA-x86x-qhf8-f37w at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix GHSA-x86x-qhf8-f37w
To remediate this vulnerability, upgrade all affected Willdurand/js translation bundle 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 willdurand/js-translation-bundle to 2.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for willdurand/js-translation-bundle
How to Check if You Are Affected
To determine whether your application is affected by GHSA-x86x-qhf8-f37w, inspect your project dependencies for Willdurand/js translation bundle:
inspect dependencies for willdurand/js-translation-bundle
Analyze the terminal output to locate any version of Willdurand/js translation bundle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.1), 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 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. In Willdurand/js translation bundle, 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-x86x-qhf8-f37w Affected Willdurand/js translation bundle Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
willdurand/js-translation-bundle
|
Packagist |
< 2.1.1
|
2.1.1
|
References
Frequently Asked Questions
What is GHSA-x86x-qhf8-f37w?
Which Willdurand/js translation bundle versions are affected?
What version fixes GHSA-x86x-qhf8-f37w?
Is willdurand/js-translation-bundle affected?
What is the CVSS score of GHSA-x86x-qhf8-f37w?
What CWE is associated with GHSA-x86x-qhf8-f37w?
How can I check Packagist dependencies for GHSA-x86x-qhf8-f37w?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x86x-qhf8-f37w",
"modified" : "2024-06-07T22:20:27Z",
"published" : "2024-06-07T22:20:27Z",
"aliases" : [ ],
"summary" : "willdurand/js-translation-bundle potential path traversal attack and remote code injection",
"details" : "A path traversal and a javascript code injection vulnerabilities were identified in willdurand/js-translation-bundle versions prior to 2.1.1. ",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "willdurand/js-translation-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/willdurand/BazingaJsTranslationBundle/commit/7accee93569c3f3d2379f035a41ece66522801fc"
}, {
"type" : "WEB",
"url" : "https://github.com/willdurand/BazingaJsTranslationBundle/commit/df6c0fd603c0192ebc5584991a52a1092c5f60bd"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/willdurand/js-translation-bundle/2014-07-29-1.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/willdurand/BazingaJsTranslationBundle"
}, {
"type" : "WEB",
"url" : "https://github.com/willdurand/BazingaJsTranslationBundle/releases/tag/v2.1.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22", "CWE-74" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-06-07T22:20:27Z",
"nvd_published_at" : null
}
}