CVE-2022-41711: Badaso/core Remote Code Execution Vulnerability
CRITICALCVE-2022-41711 is a CRITICAL (CVSS 9.8) remote code execution vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting Badaso/core libraries in the Packagist ecosystem. The issue involves badaso vulnerable to remote code execution via malicious file upload. Remediation is available by upgrading affected packages to version 2.6.1.
CVE-2022-41711 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 CVE-2022-41711
To remediate this vulnerability, upgrade all affected Badaso/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 badaso/core to 2.6.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for badaso/core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-41711, inspect your project dependencies for Badaso/core:
inspect dependencies for badaso/core
Analyze the terminal output to locate any version of Badaso/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.6.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-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 Badaso/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
CVE-2022-41711 Affected Badaso/core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
badaso/core
|
Packagist |
< 2.6.1
|
2.6.1
|
References
Frequently Asked Questions
What is CVE-2022-41711?
Which Badaso/core versions are affected?
What version fixes CVE-2022-41711?
Is badaso/core affected?
What is the CVSS score of CVE-2022-41711?
What CWE is associated with CVE-2022-41711?
How can I check Packagist dependencies for CVE-2022-41711?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fwvc-9xhj-26v5",
"modified" : "2022-10-31T15:41:00Z",
"published" : "2022-10-26T12:00:31Z",
"aliases" : [ "CVE-2022-41711" ],
"summary" : "Badaso vulnerable to Remote Code Execution via malicious file upload",
"details" : "Badaso allows an unauthenticated remote attacker to execute arbitrary code remotely on the server. This is possible because the application does not properly validate the data uploaded by users.",
"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" : "badaso/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.6.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-41711"
}, {
"type" : "WEB",
"url" : "https://github.com/uasoft-indonesia/badaso/issues/802"
}, {
"type" : "WEB",
"url" : "https://github.com/uasoft-indonesia/badaso/commit/22250eca7c364d991ce9e0a723941eae4889d6f9"
}, {
"type" : "WEB",
"url" : "https://fluidattacks.com/advisories/harlow"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/uasoft-indonesia/badaso"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-434" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2022-10-26T23:22:48Z",
"nvd_published_at" : "2022-10-25T21:15:00Z"
}
}