CVE-2023-23931

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-23931
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-23931.json
Aliases
Related
Published
2023-02-07T21:15:09Z
Modified
2023-11-29T10:02:13.876493Z
Details

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.

References

Affected packages

Git / github.com/pyca/cryptography

Affected ranges

Type
GIT
Repo
https://github.com/pyca/cryptography
Events

Affected versions

1.*

1.8
1.9

2.*

2.0
2.1
2.2
2.3
2.4
2.4.1
2.5
2.6
2.6.1
2.7
2.8
2.9

3.*

3.0
3.1
3.2
3.3
3.4

35.*

35.0.0

36.*

36.0.0

37.*

37.0.0

38.*

38.0.0

39.*

39.0.0