GHSA-5vv7-j593-mgjc: Neos/flow Neos Flow Arbitrary File Upload Vulnerability
MODERATEGHSA-5vv7-j593-mgjc is a MODERATE neos flow arbitrary file upload vulnerability (General Security Weakness) affecting Neos/flow libraries in the Packagist ecosystem. The issue involves neos flow arbitrary file upload and xml external entity processing. Remediation is available by upgrading affected packages to version 2.3.7, 3.0.1.
GHSA-5vv7-j593-mgjc at a Glance
How to Fix GHSA-5vv7-j593-mgjc
To remediate this vulnerability, upgrade all affected Neos/flow 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 neos/flow to 2.3.7
Upgrade neos/flow to 3.0.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for neos/flow
How to Check if You Are Affected
To determine whether your application is affected by GHSA-5vv7-j593-mgjc, inspect your project dependencies for Neos/flow:
inspect dependencies for neos/flow
Analyze the terminal output to locate any version of Neos/flow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.7), 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 Neos/flow, 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-5vv7-j593-mgjc Affected Neos/flow Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
neos/flow
|
Packagist |
≥ 2.3.0
< 2.3.7
|
2.3.7
|
|
neos/flow
|
Packagist |
≥ 3.0.0
< 3.0.1
|
3.0.1
|
References
Frequently Asked Questions
What is GHSA-5vv7-j593-mgjc?
Which Neos/flow versions are affected?
What version fixes GHSA-5vv7-j593-mgjc?
Is neos/flow affected?
What CWE is associated with GHSA-5vv7-j593-mgjc?
How can I check Packagist dependencies for GHSA-5vv7-j593-mgjc?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5vv7-j593-mgjc",
"modified" : "2024-05-17T22:54:43Z",
"published" : "2024-05-17T22:54:42Z",
"aliases" : [ ],
"summary" : "Neos Flow Arbitrary file upload and XML External Entity processing",
"details" : "It has been discovered that Flow 3.0.0 allows arbitrary file uploads, inlcuding server-side scripts, posing the risk of attacks. If those scripts are executed by the server when accessed through their public URL, anything not blocked through other means is possible (information disclosure, placement of backdoors, data removal, …).\n\nNote: The upload of files is only possible if the application built on Flow provides means to do so, and whether or not the upload of files poses a risk is dependent on the system setup. If uploaded script files are not executed by the server, there is no risk. In versions prior to 3.0.0 the upload of files with the extension php was blocked.\n\nIn Flow 2.3.0 to 2.3.6 a potential XML External Entity processing vulnerability has been discovered in the MediaTypeConverter.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "neos/flow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "neos/flow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/neos/flow/2015-11-23.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/neos/flow"
}, {
"type" : "WEB",
"url" : "https://www.neos.io/blog/flow-sa-2015-001.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-17T22:54:42Z",
"nvd_published_at" : null
}
}