CVE-2021-32752: Ether/logs Files Or Directories Accessible To Vulnerability

HIGH
Advisory Identifier: GHSA-fp63-499m-hq6m
CVSS 7.2
CWE-552
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2021-32752
GHSA Identifier GHSA-fp63-499m-hq6m
Severity HIGH
CVSS v3.1 Base Score 7.2
CWE Classification CWE-552: Files or Directories Accessible to External Parties
Affected Product Ether/logs
Package Ecosystem Packagist
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (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.

ether/logs fixed: 3.0.4
Upgrade ether/logs to 3.0.4
Verify Direct and Transitive Dependencies

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

### Impact A vulnerability was found that allowed authenticated admin users to access any file on the server. ### Patches The vulnerability has been fixed in 3.0.4. ### Workarounds We recommend disabling the plugin if untrustworthy sources have admin access. ### For more information If you have any questions or comments about this advisory: * Open an issue in [ether/logs](https://github.com/ethercreative/logs/issues)

CVE-2021-32752 Affected Ether/logs Versions

1 component(s)
Fixed Versions:
3.0.4
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?
CVE-2021-32752 is a security vulnerability in Ether/logs involving Files or Directories Accessible to External Parties in ether/logs under CWE-552: Files or Directories Accessible to External Parties.
Which Ether/logs versions are affected?
Affected versions include releases prior to 3.0.4 across affected packages: ether/logs.
What version fixes CVE-2021-32752?
Upgrading to 3.0.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ether/logs affected?
Yes, ether/logs is affected in releases prior to 3.0.4. Upgrade your dependency to 3.0.4 or later.
What is the CVSS score of CVE-2021-32752?
CVE-2021-32752 has a CVSS v3.1 base score of 7.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2021-32752?
CVE-2021-32752 is classified under CWE-552: Files or Directories Accessible to External Parties (The product makes files or directories accessible to unauthorized actors, even though they should not be.).
How can I check Packagist dependencies for CVE-2021-32752?
Run the dependency tree command: 'inspect dependencies for ether/logs'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}