Improper Control of Generation of Code ('Code Injection')
CVE-2024-6923
Summary
The package cpython is vulnerable to header injection. The email module didn't properly quote newlines for email headers when serializing an email message, allowing for header injection when an email is serialized. This vulnerability affects versions prior to v3.8.20, 3.9.0 prior to v3.9.20, v3.10.0 prior to v3.10.15, v3.11.0 prior to v3.11.10, v3.12.0 prior to v3.12.5, v3.13.0a1 prior to v3.13.0rc2.
- LOW
- NETWORK
- LOW
- UNCHANGED
- REQUIRED
- LOW
- LOW
- LOW
CWE-94 - Code Injection
Code injection is a type of vulnerability that allows an attacker to execute arbitrary code. This vulnerability fully compromises the machine and can cause a wide variety of security issues, such as unauthorized access to sensitive information, manipulation of data, denial of service attacks etc. Code injection is different from command injection in the fact that it is limited by the functionality of the injected language (e.g. PHP), as opposed to command injection, which leverages existing code to execute commands, usually within the context of a shell.
References
Advisory Timeline
- Published