低危 对因果或异常条件的不恰当检查
CVE编号
CVE-2023-23931利用情况
暂无补丁情况
N/A披露时间
2023-02-08漏洞描述
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. In affected versions `Cipher.update_into` would accept Python objects which implement the buffer protocol, but provide only immutable buffers. This would allow immutable objects (such as `bytes`) to be mutated, thus violating fundamental rules of Python and resulting in corrupted output. This now correctly raises an exception. This issue has been present since `update_into` was originally introduced in cryptography 1.8.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/pyca/cryptography/pull/8230/commits/94a50a9731f35405f0357f... | |
https://github.com/pyca/cryptography/security/advisories/GHSA-w7pp-m8wf-vj6r |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | cryptography_project | cryptography | * | From (including) 1.8 | Up to (excluding) 39.0.1 | ||||
运行在以下环境 | |||||||||
系统 | alpine_3.17 | py3-cryptography | * | Up to (excluding) 38.0.3-r1 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.18 | py3-cryptography | * | Up to (excluding) 39.0.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | py3-cryptography | * | Up to (excluding) 39.0.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | anolis_os_23 | python3-cryptography-doc | * | Up to (excluding) 39.0.0-3 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | py3-cryptography | * | Up to (excluding) 2.6.1-3+deb10u4 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | py3-cryptography | * | Up to (including) 3.3.2-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | py3-cryptography | * | Up to (excluding) 38.0.4-3 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | py3-cryptography | * | Up to (excluding) 38.0.4-3 | |||||
运行在以下环境 | |||||||||
系统 | fedora_36 | python3-cryptography | * | Up to (excluding) 36.0.0-4.fc36 | |||||
运行在以下环境 | |||||||||
系统 | fedora_37 | python3-cryptography | * | Up to (excluding) 37.0.2-5.fc37 | |||||
运行在以下环境 | |||||||||
系统 | fedora_38 | python3-cryptography | * | Up to (excluding) 37.0.2-8.fc38 | |||||
运行在以下环境 | |||||||||
系统 | fedora_39 | python3-cryptography | * | Up to (excluding) 37.0.2-8.fc39 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_5.3 | python3-cryptography | * | Up to (excluding) 3.3.2-150400.16.6.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.4 | python3-cryptography | * | Up to (excluding) 3.3.2-150400.16.6.1 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP5 | python-cffi | * | Up to (excluding) 2.8-7.40.1 | |||||
- 攻击路径 N/A
- 攻击复杂度 N/A
- 权限要求 N/A
- 影响范围 N/A
- EXP成熟度 N/A
- 补丁情况 N/A
- 数据保密性 N/A
- 数据完整性 N/A
- 服务器危害 N/A
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-754 | 对因果或异常条件的不恰当检查 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论