CVE-2021-32752: Ether/logs Files Or Directories Accessible To Vulnerability
HIGHCVE-2021-32752 is a HIGH (CVSS 7.2) files or directories accessible to vulnerability (CWE-552: Files or Directories Accessible to External Parties) affecting Ether/logs libraries in the Packagist ecosystem. The issue involves files or directories accessible to external parties in ether/logs. Remediation is available by upgrading affected packages to version 3.0.4.
CVE-2021-32752 at a Glance
Security Impact
CVSS: 7.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2021-32752
To remediate this vulnerability, upgrade all affected Ether/logs 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 ether/logs to 3.0.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ether/logs
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-32752, inspect your project dependencies for Ether/logs:
inspect dependencies for ether/logs
Analyze the terminal output to locate any version of Ether/logs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.4), 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-552: Files or Directories Accessible to External Parties, where the product makes files or directories accessible to unauthorized actors, even though they should not be. In Ether/logs, 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-32752 Affected Ether/logs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ether/logs
|
Packagist |
< 3.0.4
|
3.0.4
|
References
Frequently Asked Questions
What is CVE-2021-32752?
Which Ether/logs versions are affected?
What version fixes CVE-2021-32752?
Is ether/logs affected?
What is the CVSS score of CVE-2021-32752?
What CWE is associated with CVE-2021-32752?
How can I check Packagist dependencies for CVE-2021-32752?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fp63-499m-hq6m",
"modified" : "2021-07-09T14:04:21Z",
"published" : "2021-07-12T16:53:00Z",
"aliases" : [ "CVE-2021-32752" ],
"summary" : "Files or Directories Accessible to External Parties in ether/logs",
"details" : "### Impact\nA vulnerability was found that allowed authenticated admin users to access any file on the server.\n\n### Patches\nThe vulnerability has been fixed in 3.0.4.\n\n### Workarounds\nWe recommend disabling the plugin if untrustworthy sources have admin access.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [ether/logs](https://github.com/ethercreative/logs/issues)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "ether/logs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.0.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ethercreative/logs/security/advisories/GHSA-fp63-499m-hq6m"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-32752"
}, {
"type" : "WEB",
"url" : "https://github.com/ethercreative/logs/commit/eb225cc78b1123a10ce2784790f232d71c2066c4"
}, {
"type" : "WEB",
"url" : "https://github.com/ethercreative/logs/releases/tag/3.0.4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-552" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-07-09T14:04:21Z",
"nvd_published_at" : "2021-07-09T14:15:00Z"
}
}