File tree 2 files changed +14
-6
lines changed
2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 7
7
When the ` SAPI ` is ` php-fpm ` , ` \Magento\Framework\Xml\Security ` cannot detect entity if the XML string is not encoded in ` UTF-8 ` .
8
8
This is a potential security issue and many developers forget to detect the XML encoding before using this class.
9
9
10
- _ Note: this class works correctly in CLI._
10
+ _ Note: the above class works correctly in CLI._
11
+
12
+ ##### A note about [ CVE-2024 -2961] ( https://www.cve.org/CVERecord?id=CVE-2024-2961 )
13
+
14
+ _ XML string with ` encoding="ISO-2022-CN-EXT" ` won't cause the buffer overflow. So we don't forbid this encoding._
11
15
12
16
## Features
13
17
@@ -22,6 +26,7 @@ That's it.
22
26
23
27
## Requirements
24
28
29
+ Magento 2.3
25
30
Magento 2.4
26
31
27
32
## Installation
Original file line number Diff line number Diff line change 12
12
" xml security" ,
13
13
" enhancement" ,
14
14
" encoding" ,
15
- " php-fpm"
15
+ " php-fpm" ,
16
+ " cosmic sting" ,
17
+ " cosmicsting" ,
18
+ " cve-2024-34102"
16
19
],
17
20
"homepage" : " https://www.wubinworks.com" ,
18
21
"support" : {
19
22
"issues" : " https://github.com/wubinworks/magento2-enhanced-xml-security/issues" ,
20
23
"chat" : " https://www.wubinworks.com/contact"
21
24
},
22
25
"require" : {
23
- "php" : " >=7.3 " ,
24
- "laminas/laminas-xml" : " ^1.4 " ,
25
- "magento/magento2-base" : " ~2.4.0"
26
+ "php" : " >=7.1 " ,
27
+ "laminas/laminas-xml" : " ^1.2 " ,
28
+ "magento/magento2-base" : " ~2.3.0 || ~2. 4.0"
26
29
},
27
30
"type" : " magento2-module" ,
28
- "version" : " 1.0.0 " ,
31
+ "version" : " 1.0.1 " ,
29
32
"license" : " OSL-3.0" ,
30
33
"authors" : [
31
34
{
You can’t perform that action at this time.
0 commit comments