6.5 Medium
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
LOW
Availability Impact
LOW
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
6.4 Medium
CVSS2
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:N/I:P/A:P
0.001 Low
EPSS
Percentile
28.2%
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.
Author | Note |
---|---|
mdeslaur | Per the upstream advisory: “This is a soundness bug – it allows programmers to misuse an API, it cannot be exploited by attacker controlled data alone.” |
seth-arnold | Debian’s update was incomplete, see 2.6.1-3+deb10u4 |
ccdm94 | as per the advisory, this vulnerability was introduced in version 1.8. |
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 18.04 | noarch | python-cryptography | < any | UNKNOWN |
ubuntu | 20.04 | noarch | python-cryptography | < 2.8-3ubuntu0.2 | UNKNOWN |
ubuntu | 22.04 | noarch | python-cryptography | < 3.4.8-1ubuntu2.1 | UNKNOWN |
ubuntu | 23.04 | noarch | python-cryptography | < 38.0.4-2ubuntu0.1 | UNKNOWN |
github.com/pyca/cryptography/pull/8230/commits/94a50a9731f35405f0357fa5f3b177d46a726ab3
github.com/pyca/cryptography/security/advisories/GHSA-w7pp-m8wf-vj6r
launchpad.net/bugs/cve/CVE-2023-23931
nvd.nist.gov/vuln/detail/CVE-2023-23931
security-tracker.debian.org/tracker/CVE-2023-23931
ubuntu.com/security/notices/USN-6539-1
www.cve.org/CVERecord?id=CVE-2023-23931
6.5 Medium
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
LOW
Availability Impact
LOW
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
6.4 Medium
CVSS2
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:N/I:P/A:P
0.001 Low
EPSS
Percentile
28.2%