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
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-23931
Aliases
Related
Published
2023-02-07T21:15:09Z
Modified
2024-10-17T04:45:28.606585Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
Summary
[none]
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

Debian:11 / python-cryptography

Package

Name
python-cryptography
Purl
pkg:deb/debian/python-cryptography?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.2-1+deb11u1

Affected versions

3.*

3.3.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / python-cryptography

Package

Name
python-cryptography
Purl
pkg:deb/debian/python-cryptography?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
38.0.4-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / python-cryptography

Package

Name
python-cryptography
Purl
pkg:deb/debian/python-cryptography?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
38.0.4-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

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