Vulnerabilities in pkg:pypi/chia-blockchain
PACKAGECVE-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.
pkg:pypi/chia-blockchain
Vulnerability advisories affecting package pkg:pypi/chia-blockchain. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-pvjg-jwp3-mrj5 | CVE-2022-36447 | HIGH | chia-blockchain tokens can be inflated to an arbitrary extent |
CVE-2022-36447 at a Glance
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).
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.
pip install chia-blockchain>=Latest secure release
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
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?
Which Chia blockchain versions are affected?
What version fixes CVE-2022-36447?
Is chia-blockchain affected?
What is the CVSS score of CVE-2022-36447?
What CWE is associated with CVE-2022-36447?
How can I check PyPI dependencies for CVE-2022-36447?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}