Skip to content
Heist/ feed
Back to feed
Medium

cachi2 allows traceback prints locals

Type: advisorySources: OSV

Cachi2 is a command-line interface tool that pre-fetches a project's dependencies to aid in making the project's build process network-isolated. Prior to version 0.14.0, secrets may be shown in logs when an unhandled exception is triggered because the tool is logging locals of each function. This may uncover secrets if tool used in CI/build pipelines as it's the main use case. Version 0.14.0 contains a patch for the issue. No known workarounds are available.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-52582
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 08:21 UTC · Revision 1

Source evidence

cachi2 allows traceback prints locals

core-osv · Original source

Published 19 Nov 2024, 15:32 UTC

Cachi2 is a command-line interface tool that pre-fetches a project's dependencies to aid in making the project's build process network-isolated. Prior to version 0.14.0, secrets may be shown in logs when an unhandled exception is triggered because the tool is logging locals of each function. This may uncover secrets if tool used in CI/build pipelines as it's the main use case. Version 0.14.0 contains a patch for the issue. No known workarounds are available.

osv:CVE-2024-52582
Complete source record
{
  "id": "f9d90feca81e381a7ccef3d36ef6e706cbc8202637a80b42bb795fe510bec576",
  "url": "https://osv.dev/vulnerability/CVE-2024-52582",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "cachi2 allows traceback prints locals",
    "summary": "Cachi2 is a command-line interface tool that pre-fetches a project's dependencies to aid in making the project's build process network-isolated. Prior to version 0.14.0, secrets may be shown in logs when an unhandled exception is triggered because the tool is logging locals of each function. This may uncover secrets if tool used in CI/build pipelines as it's the main use case. Version 0.14.0 contains a patch for the issue. No known workarounds are available.",
    "evidence": "osv:CVE-2024-52582",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-52582",
      "aliases": [
        "CVE-2024-52582",
        "GHSA-w9qc-9m5h-qqmh"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hermetoproject/hermeto",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d6638e5e14474061a1ab1ba5d0ee72f58b9a11a9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.14.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d6638e5e14474061a1ab1ba5d0ee72f58b9a11a9"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.14.0"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.13.0",
            "0.12.0",
            "0.11.0",
            "0.10.0",
            "0.9.1",
            "0.9.0",
            "0.8.0",
            "0.7.0",
            "0.6.0",
            "0.5.0",
            "0.4.0",
            "0.3.0",
            "0.2.0",
            "0.1.0",
            "0.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52582.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.278965785Z",
      "provider": "osv",
      "references": [
        "https://typer.tiangolo.com/tutorial/exceptions/?h=#disable-local-variables-for-security",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52582.json",
        "https://github.com/containerbuildsystem/cachi2/security/advisories/GHSA-w9qc-9m5h-qqmh",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-52582",
        "https://github.com/containerbuildsystem/cachi2/commit/d6638e5e14474061a1ab1ba5d0ee72f58b9a11a9"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-497"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52582.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-52582",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493771,
  "published_at": "2024-11-19T15:32:26.579+00:00"
}