CVE-2023-41050

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-41050
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-41050.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-41050
Aliases
Published
2023-09-06T18:15:08Z
Modified
2024-10-12T11:04:26.423805Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

AccessControl provides a general security framework for use in Zope. Python's "format" functionality allows someone controlling the format string to "read" objects accessible (recursively) via attribute access and subscription from accessible objects. Those attribute accesses and subscriptions use Python's full blown getattr and getitem, not the policy restricted AccessControl variants _getattr_ and _getitem_. This can lead to critical information disclosure. AccessControl already provides a safe variant for str.format and denies access to string.Formatter. However, str.format_map is still unsafe. Affected are all users who allow untrusted users to create AccessControl controlled Python code and execute it. A fix has been introduced in versions 4.4, 5.8 and 6.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.

References

Affected packages

Git / github.com/zopefoundation/accesscontrol

Affected ranges

Type
GIT
Repo
https://github.com/zopefoundation/accesscontrol
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/zopefoundation/zope
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*

2.12.27
2.12.28
2.13.20
2.13.21
2.13.22

3.*

3.0.10
3.0.11
3.0.12
3.0.7
3.0.8
3.0.9

4.*

4.0
4.0a1
4.0a2
4.0a3
4.0a4
4.0a5
4.0a6
4.0a7
4.0b1
4.0b10
4.0b2
4.0b3
4.0b4
4.0b5
4.0b6
4.0b7
4.0b8
4.0b9
4.1
4.1.1
4.1.2
4.1.3
4.2
4.2.1
4.3

5.*

5.0
5.1
5.2
5.3
5.3.1
5.4
5.5
5.6
5.7

6.*

6.0
6.1

backups/Zope-2.*

backups/Zope-2.9@40221

Other

backups/Zope-2_9-branch@40220
backups/ajung-2-11-prep-branch@82440
backups/ajung-zcatalog-progress@26609
backups/ajung-zpt-encoding-fixes@71736
backups/ajung-zpt-end-game@68335
backups/andig-catalog-report@115049
backups/gotcha-processlifetime@113938
backups/hannosch-dtml-vs-accesscontrol@113161
backups/jim-move-Zope@29064
backups/philikon-zope32-integration@39849
backups/rochael-TM_sortKey@113726
backups/slinkp-collector_596@40067

backups/shh-2.*

backups/shh-2.11-zopelitelayer@80865

backups/tim-2.*

backups/tim-2.9-windows-installer@41463