CVE-2026-1299 email BytesGenerator header injection due to unquoted newlines
설명
The email module, specifically the "BytesGenerator" class, didn’t properly quote newlines for email headers when serializing an email message allowing for header injection when an email is serialized. This is only applicable if using "LiteralHeader" writing headers that don't respect email folding rules, the new behavior will reject the incorrectly folded headers in "BytesGenerator".
영향 받는 제품 제품 1개
-
해결 버전 있음
Python Software Foundation
CPython
영향 받는 버전
- 3.10.20 미만
- 3.11.0 이상 3.11.15 미만
- 3.12.0 이상 3.12.13 미만
- 3.13.0 이상 3.13.12 미만
- 3.14.0 이상 3.14.3 미만
- 3.15.0a1 이상 3.15.0a6 미만
해결 버전
- 3.10.20 이상
- 3.11.15 이상
- 3.12.13 이상
- 3.13.12 이상
- 3.14.3 이상
- 3.15.0a6 이상
참고 자료 10건
- cve.org https://cve.org/CVERecord?id=CVE-2024-6923 (새 창)
- github.com https://github.com/python/cpython/commit/052e55e7d44718fe46cbba0ca995cb8fcc359413 (새 창)
- github.com https://github.com/python/cpython/commit/0a925ab591c45d6638f37b5e57796f36fa0e56d8 (새 창)
- github.com https://github.com/python/cpython/commit/7877fe424415bc4a13045e62a90a7277413d8cb9 (새 창)
- github.com https://github.com/python/cpython/commit/842ce19a0c0b58d61591e8f6a708c38db1fb94e4 (새 창)
- github.com https://github.com/python/cpython/commit/8cdf6204f4ae821f32993f8fc6bad0d318f95f36 (새 창)
- github.com https://github.com/python/cpython/commit/e417f05ad77a4c30ddc07f99e90fc0cef43e831a (새 창)
- github.com https://github.com/python/cpython/issues/144125 (새 창)
- github.com https://github.com/python/cpython/pull/144126 (새 창)
- mail.python.org https://mail.python.org/archives/list/security-announce@python.org/thread/6ZZULGALJTITEAGEXLDJE2C6FORDXPBT/ (새 창)