GHSA-9j39-4686-m3c4: Ibexa/core Ibexa Kernel's Files With Blacklisted Vulnerability
MODERATEGHSA-9j39-4686-m3c4 is a MODERATE ibexa kernel's files with blacklisted vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting Ibexa/core libraries in the Packagist ecosystem. The issue involves ibexa kernel's files with blacklisted extensions can be still saved to drafts. Remediation is available by upgrading affected packages to version 4.5.6, 4.6.2.
GHSA-9j39-4686-m3c4 at a Glance
How to Fix GHSA-9j39-4686-m3c4
To remediate this vulnerability, upgrade all affected Ibexa/core 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 ibexa/core to 4.5.6
Upgrade ibexa/core to 4.6.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ibexa/core
How to Check if You Are Affected
To determine whether your application is affected by GHSA-9j39-4686-m3c4, inspect your project dependencies for Ibexa/core:
inspect dependencies for ibexa/core
Analyze the terminal output to locate any version of Ibexa/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.5.6), 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-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. In Ibexa/core, 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-9j39-4686-m3c4 Affected Ibexa/core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ibexa/core
|
Packagist |
≥ 4.5.0
< 4.5.6
|
4.5.6
|
|
ibexa/core
|
Packagist |
≥ 4.6.0
< 4.6.2
|
4.6.2
|
References
Frequently Asked Questions
What is GHSA-9j39-4686-m3c4?
Which Ibexa/core versions are affected?
What version fixes GHSA-9j39-4686-m3c4?
Is ibexa/core affected?
What CWE is associated with GHSA-9j39-4686-m3c4?
How can I check Packagist dependencies for GHSA-9j39-4686-m3c4?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9j39-4686-m3c4",
"modified" : "2024-03-20T18:14:41Z",
"published" : "2024-03-20T18:14:41Z",
"aliases" : [ ],
"summary" : "Ibexa Kernel's files with blacklisted extensions can be still saved to drafts",
"details" : "### Impact\nFile validation can be configured to reject certain files by file type. When this happens, validation fails, and the content can't be published. However, the file can be saved when saving the content draft. This means unwanted files can be present in storage, even if they are not easily accessible due to the content not being published. The fix ensures these unwanted file types are never stored. An attacker would need to have existing access to create content with a file field type to exploit this.\n\n### Patches\nSee \"Patched versions\".\nCommit: https://github.com/ibexa/core/commit/7e472317f7c75f45f72f74c38406952d8bea0de1\n\n### References\nhttps://developers.ibexa.co/security-advisories/ibexa-sa-2024-002-file-validation-and-workflow-stages",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "ibexa/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.5.0"
}, {
"fixed" : "4.5.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "ibexa/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.6.0"
}, {
"fixed" : "4.6.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ibexa/core/security/advisories/GHSA-9j39-4686-m3c4"
}, {
"type" : "WEB",
"url" : "https://github.com/ibexa/core/commit/7e472317f7c75f45f72f74c38406952d8bea0de1"
}, {
"type" : "WEB",
"url" : "https://developers.ibexa.co/security-advisories/ibexa-sa-2024-002-file-validation-and-workflow-stages"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ibexa/core"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-434" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-03-20T18:14:41Z",
"nvd_published_at" : null
}
}