CVE-2022-21829: Concrete5/core Code Injection Vulnerability
HIGHCVE-2022-21829 is a HIGH (CVSS 8.0) code injection vulnerability (CWE-319: Cleartext Transmission of Sensitive Information) affecting Concrete5/core libraries in the Packagist ecosystem. The issue involves code injection in concrete cms. Remediation is available by upgrading affected packages to version 9.1.0, 8.5.8.
CVE-2022-21829 at a Glance
Security Impact
CVSS: 8.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2022-21829
To remediate this vulnerability, upgrade all affected Concrete5/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 concrete5/core to 9.1.0
Upgrade concrete5/core to 8.5.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for concrete5/core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-21829, inspect your project dependencies for Concrete5/core:
inspect dependencies for concrete5/core
Analyze the terminal output to locate any version of Concrete5/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.1.0), 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-319: Cleartext Transmission of Sensitive Information, where the product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors. In Concrete5/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-21829 Affected Concrete5/core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
concrete5/core
|
Packagist |
≥ 9.0.0
< 9.1.0
|
9.1.0
|
|
concrete5/core
|
Packagist |
< 8.5.8
|
8.5.8
|
References
Frequently Asked Questions
What is CVE-2022-21829?
Which Concrete5/core versions are affected?
What version fixes CVE-2022-21829?
Is concrete5/core affected?
What is the CVSS score of CVE-2022-21829?
What CWE is associated with CVE-2022-21829?
How can I check Packagist dependencies for CVE-2022-21829?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6xc4-7fmm-65q2",
"modified" : "2022-07-06T16:49:22Z",
"published" : "2022-06-25T00:00:53Z",
"aliases" : [ "CVE-2022-21829" ],
"summary" : "Code injection in concrete CMS",
"details" : "Concrete CMS Versions 9.0.0 through 9.0.2 and 8.5.7 and below can download zip files over HTTP and execute code from those zip files which could lead to an RCE. Fixed by enforcing ‘concrete_secure’ instead of ‘concrete’. Concrete now only makes requests over https even a request comes in via http. Concrete CMS security team ranked this 8 with CVSS v3.1 vector: AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H Credit goes to Anna for reporting HackerOne 1482520.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "concrete5/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0"
}, {
"fixed" : "9.1.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "concrete5/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "8.5.8"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-21829"
}, {
"type" : "WEB",
"url" : "https://hackerone.com/reports/1482520"
}, {
"type" : "WEB",
"url" : "https://documentation.concretecms.org/developers/introduction/version-history/858-release-notes"
}, {
"type" : "WEB",
"url" : "https://documentation.concretecms.org/developers/introduction/version-history/910-release-notes"
}, {
"type" : "WEB",
"url" : "https://documentation.concretecms.org/developers/introduction/version-history/910-release-notes,"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/concretecms/concretecms-core"
}, {
"type" : "WEB",
"url" : "https://hackerone.com/reports/1482520,"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-319", "CWE-74" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-29T22:07:26Z",
"nvd_published_at" : "2022-06-24T15:15:00Z"
}
}