CVE-2023-46894: Esptool Esptool Allows Attackers To View Vulnerability
HIGHCVE-2023-46894 is a HIGH (CVSS 7.5) esptool allows attackers to view vulnerability (CWE-326: Inadequate Encryption Strength) affecting Esptool libraries in the PyPI ecosystem. The issue involves esptool allows attackers to view sensitive information via weak cryptographic algorithm. Remediation is available in the latest vendor maintenance releases.
CVE-2023-46894 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:H/I:N/A:N).
How to Fix CVE-2023-46894
To remediate this vulnerability, upgrade all affected Esptool 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 esptool>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show esptool
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-46894, inspect your installed packages using pip:
pip show esptool
Analyze the terminal output to locate any version of Esptool 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 esptool command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-326: Inadequate Encryption Strength, where the product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required. In Esptool, 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-2023-46894 Affected Esptool Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
esptool
|
PyPI |
≤ 4.6.2
|
|
References
Frequently Asked Questions
What is CVE-2023-46894?
Which Esptool versions are affected?
What version fixes CVE-2023-46894?
Is esptool affected?
What is the CVSS score of CVE-2023-46894?
What CWE is associated with CVE-2023-46894?
How can I check PyPI dependencies for CVE-2023-46894?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3f38-96qm-r3fw",
"modified" : "2023-11-15T18:21:59Z",
"published" : "2023-11-09T18:34:55Z",
"aliases" : [ "CVE-2023-46894" ],
"summary" : "esptool allows attackers to view sensitive information via weak cryptographic algorithm",
"details" : "An issue discovered in esptool 4.6.2 allows attackers to view sensitive information via weak cryptographic algorithm.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "esptool"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "4.6.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-46894"
}, {
"type" : "WEB",
"url" : "https://github.com/espressif/esptool/issues/926"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/espressif/esptool"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/esptool/PYSEC-2023-234.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-326" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-11-09T22:10:33Z",
"nvd_published_at" : "2023-11-09T16:15:34Z"
}
}