GHSA-mvf6-3f2g-xfxf: Endroid/qr code bundle Endroid/qr-code-bundle File Disclosure Vulnerability
MODERATEGHSA-mvf6-3f2g-xfxf is a MODERATE endroid/qr-code-bundle file disclosure vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Endroid/qr code bundle libraries in the Packagist ecosystem. The issue involves endroid/qr-code-bundle file disclosure via logo_path query parameter. Remediation is available by upgrading affected packages to version 3.4.2.
GHSA-mvf6-3f2g-xfxf at a Glance
How to Fix GHSA-mvf6-3f2g-xfxf
To remediate this vulnerability, upgrade all affected Endroid/qr code 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 endroid/qr-code-bundle to 3.4.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for endroid/qr-code-bundle
How to Check if You Are Affected
To determine whether your application is affected by GHSA-mvf6-3f2g-xfxf, inspect your project dependencies for Endroid/qr code bundle:
inspect dependencies for endroid/qr-code-bundle
Analyze the terminal output to locate any version of Endroid/qr code bundle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.4.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 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Endroid/qr code 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-mvf6-3f2g-xfxf Affected Endroid/qr code bundle Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
endroid/qr-code-bundle
|
Packagist |
< 3.4.2
|
3.4.2
|
References
Frequently Asked Questions
What is GHSA-mvf6-3f2g-xfxf?
Which Endroid/qr code bundle versions are affected?
What version fixes GHSA-mvf6-3f2g-xfxf?
Is endroid/qr-code-bundle affected?
What CWE is associated with GHSA-mvf6-3f2g-xfxf?
How can I check Packagist dependencies for GHSA-mvf6-3f2g-xfxf?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mvf6-3f2g-xfxf",
"modified" : "2024-05-15T21:05:13Z",
"published" : "2024-05-15T21:05:13Z",
"aliases" : [ ],
"summary" : "endroid/qr-code-bundle File Disclosure via logo_path query parameter",
"details" : "Versions of endroid/qr-code-bundle prior to 3.4.2 are affected by a security vulnerability that allows disclosure of files through the logo_path query parameter. The vulnerability arises from the improper handling of non-image data as the logo, which could lead to unintended file disclosure.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "endroid/qr-code-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.4.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/endroid/qr-code-bundle/commit/51928eaaa30e7db1fd3f1076744dcbc8f8cec8c8"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/endroid/qr-code-bundle/2019-12-22.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/endroid/qr-code-bundle"
}, {
"type" : "WEB",
"url" : "https://github.com/endroid/qr-code-bundle/releases/tag/3.4.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-15T21:05:13Z",
"nvd_published_at" : null
}
}