CVE-2023-48051
Description
An issue in /upydev/keygen.py in upydev v0.4.3 allows attackers to decrypt sensitive information via weak encryption padding.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
upydev v0.4.3 uses weak RSA PKCS 1v1.5 padding in keygen.py, enabling attackers to decrypt sensitive data via chosen-ciphertext attacks.
Vulnerability
upydev, a command-line tool for MicroPython devices [1], contains a cryptographic weakness in its keygen.py module. The RSA implementation uses PKCS 1v1.5 padding instead of the recommended OAEP (Optimal Asymmetric Encryption Padding) [3]. This outdated padding scheme is known to be vulnerable to padding oracle attacks, such as Bleichenbacher's attack, which can compromise the confidentiality of encrypted data [3].
Exploitation
An attacker with network access to a device using upydev could intercept or manipulate encrypted communications that rely on this RSA implementation [3]. The attack does not require authentication if the attacker can observe encrypted traffic, but would need the ability to perform chosen-ciphertext queries against the decryption oracle. The vulnerability is classified as CWE-780: Use of RSA Algorithm without OAEP [3].
Impact
By exploiting the weak padding scheme, an attacker can decrypt sensitive information that was intended to be protected by RSA encryption [3]. This could expose device configuration data, passwords, or other confidential material transmitted between the upydev client and the MicroPython device. The issue exists in version 0.4.3 of upydev [3].
Mitigation
As of the CVE publication date (2023-11-20), a fix has not been released in the public repository. The recommended mitigation is to update the RSA implementation to use OAEP padding for encryption and PSS (Probabilistic Signature Scheme) for signatures [3]. Users should avoid using upydev 0.4.3 for sensitive operations until a patched version is available.
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
upydevPyPI | <= 0.4.3 | — |
Affected products
3- upydev/upydevdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4News mentions
0No linked articles in our index yet.