CVE-2022-36447: Chia blockchain Chia-blockchain Tokens Can Be Inflated Vulnerability

HIGH
Advisory Identifier: GHSA-pvjg-jwp3-mrj5
CVSS 7.5
Published
Advisory Summary

CVE-2022-36447 is a HIGH (CVSS 7.5) chia-blockchain tokens can be inflated vulnerability (General Security Weakness) affecting Chia blockchain libraries in the PyPI ecosystem. The issue involves chia-blockchain tokens can be inflated to an arbitrary extent. Remediation is available in the latest vendor maintenance releases.

CVE-2022-36447 at a Glance

CVE Identifier CVE-2022-36447
GHSA Identifier GHSA-pvjg-jwp3-mrj5
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification General Security Weakness
Affected Product Chia blockchain
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2022-36447

To remediate this vulnerability, upgrade all affected Chia blockchain dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

chia-blockchain fixed: Latest secure release
pip install chia-blockchain>=Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show chia-blockchain

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2022-36447, inspect your installed packages using pip:

pip show chia-blockchain

Analyze the terminal output to locate any version of Chia blockchain 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: The pip show chia-blockchain command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Chia blockchain, 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

An inflation issue was discovered in Chia Network CAT1 Standard 1.0.0. Previously minted tokens minted on the Chia blockchain using the CAT1 standard can be inflated to an arbitrary extent by any holder of any amount of the token. The total amount of the token can be increased as high as the malicious actor pleases. This is true for every CAT1 on the Chia blockchain regardless of issuance rules. This attack is auditable on chain, so maliciously altered coins can potentially be marked by off-chain observers as malicious.

CVE-2022-36447 Affected Chia blockchain Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
chia-blockchain
PyPI
≤ 2.4.4rc3

References

Frequently Asked Questions

What is CVE-2022-36447?
CVE-2022-36447 is a security vulnerability in Chia blockchain involving chia-blockchain tokens can be inflated to an arbitrary extent under General Security Weakness.
Which Chia blockchain versions are affected?
Affected versions include releases prior to current release patches across affected packages: chia-blockchain.
What version fixes CVE-2022-36447?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is chia-blockchain affected?
Yes, chia-blockchain is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2022-36447?
CVE-2022-36447 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2022-36447?
CVE-2022-36447 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2022-36447?
Run the dependency tree command: 'pip show chia-blockchain'. 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-pvjg-jwp3-mrj5",
  "modified" : "2024-11-21T22:17:15Z",
  "published" : "2022-07-30T00:00:16Z",
  "aliases" : [ "CVE-2022-36447" ],
  "summary" : "chia-blockchain tokens can be inflated to an arbitrary extent",
  "details" : "An inflation issue was discovered in Chia Network CAT1 Standard 1.0.0. Previously minted tokens minted on the Chia blockchain using the CAT1 standard can be inflated to an arbitrary extent by any holder of any amount of the token. The total amount of the token can be increased as high as the malicious actor pleases. This is true for every CAT1 on the Chia blockchain regardless of issuance rules. This attack is auditable on chain, so maliciously altered coins can potentially be marked by off-chain observers as malicious.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "chia-blockchain"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.4.4rc3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-36447"
  }, {
    "type" : "WEB",
    "url" : "https://chia.net"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Chia-Network/chia-blockchain"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/chia-blockchain/PYSEC-2022-43072.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://www.chia.net/2022/07/25/upgrading-the-cat-standard.en.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-11-21T22:17:15Z",
    "nvd_published_at" : "2022-07-29T21:15:00Z"
  }
}