CVE-2021-27312: Gleez/cms Gleez Cms Server Side Request Vulnerability
CRITICALCVE-2021-27312 is a CRITICAL (CVSS 9.0) gleez cms server side request vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Gleez/cms libraries in the Packagist ecosystem. The issue involves gleez cms server side request forgery (ssrf) vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2021-27312 at a Glance
Security Impact
CVSS: 9.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2021-27312
To remediate this vulnerability, upgrade all affected Gleez/cms 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 gleez/cms to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for gleez/cms
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-27312, inspect your project dependencies for Gleez/cms:
inspect dependencies for gleez/cms
Analyze the terminal output to locate any version of Gleez/cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Gleez/cms, 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-2021-27312 Affected Gleez/cms Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
gleez/cms
|
Packagist |
≤ 1.2.0
|
|
References
Frequently Asked Questions
What is CVE-2021-27312?
Which Gleez/cms versions are affected?
What version fixes CVE-2021-27312?
Is gleez/cms affected?
What is the CVSS score of CVE-2021-27312?
What CWE is associated with CVE-2021-27312?
How can I check Packagist dependencies for CVE-2021-27312?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7mxg-r76p-363g",
"modified" : "2024-04-03T15:34:31Z",
"published" : "2024-04-03T06:30:48Z",
"aliases" : [ "CVE-2021-27312" ],
"summary" : "Gleez Cms Server Side Request Forgery (SSRF) vulnerability",
"details" : "Server Side Request Forgery (SSRF) vulnerability in Gleez Cms 1.2.0, allows remote attackers to execute arbitrary code and obtain sensitive information via modules/gleez/classes/request.php.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "gleez/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-27312"
}, {
"type" : "WEB",
"url" : "https://github.com/gleez/cms/issues/805"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/LioTree/8d10d123d31f50db05a25586e62a87ba"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/gleez/cms"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-03T15:34:31Z",
"nvd_published_at" : "2024-04-03T06:15:07Z"
}
}