Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2023-46894: Cryptographic API Misuse Vulnerability: AES ECB used for initialization (ESPTOOL-756) · Issue #926 · espressif/esptool

An issue discovered in esptool 4.6.2 allows attackers to view sensitive information via weak cryptographic algorithm.

CVE
#vulnerability#git

Operating System

ALL

Esptool Version

4.6.2

Python Version

python3.x

Full Esptool Command Line that Was Run

None

Esptool Output

Description: I have identified a security vulnerability in the esptool project’s use of AES ECB (Electronic Codebook) mode for initialization. This vulnerability can potentially expose sensitive information and compromise the security of the application. Locations: https://github.com/espressif/esptool/blob/master/espsecure/__init__.py#L128 https://github.com/espressif/esptool/blob/master/espsecure/__init__.py#L1195 Version: esptool <= 4.6.2

What is the Expected Behaviour?

Expected Behavior:
Instead of using AES ECB, it is recommended to use more secure encryption modes, such as AES CBC (Cipher Block Chaining) or AES GCM (Galois/Counter Mode), for configuration in order to enhance the security of esptool.

Recommendations:
It is strongly recommended to update the project’s code at line 128 and line 1195 in the init.py file to use more secure encryption modes, such as AES CBC or AES GCM, for configuration. This will help mitigate the potential security risks associated with using AES ECB.Otherwise,the cryprography.io(https://cryptography.io/) crypto library is a good programming practices.

More Information

No response

Other Steps to Reproduce

No response

Related news

GHSA-3f38-96qm-r3fw: esptool allows attackers to view sensitive information via weak cryptographic algorithm

An issue discovered in esptool 4.6.2 allows attackers to view sensitive information via weak cryptographic algorithm.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907