You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "tanli (Jira)" <ji...@apache.org> on 2022/05/01 12:36:00 UTC

[jira] [Updated] (WW-5180) SecurityMemberAccess.java have a security bug

     [ https://issues.apache.org/jira/browse/WW-5180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

tanli updated WW-5180:
----------------------
    Description: 
[https://github.com/apache/struts/pull/542]

clazz.isAssignableFrom(excludedClass)

need change to

excludedClass.isAssignableFrom(clazz)

 

because

A.isAssignableFrom(B) this judge if B belong A

 

also it need 541 to block more class 

[https://github.com/apache/struts/pull/541]

 

  was:
[https://github.com/apache/struts/pull/540]

clazz.isAssignableFrom(excludedClass)

need change to

excludedClass.isAssignableFrom(clazz)

 

because

A.isAssignableFrom(B) this judge if B belong A

 

also it need 541 to block more class 

[https://github.com/apache/struts/pull/541]

 


> SecurityMemberAccess.java  have a security bug 
> -----------------------------------------------
>
>                 Key: WW-5180
>                 URL: https://issues.apache.org/jira/browse/WW-5180
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: 2.5.x
>            Reporter: tanli
>            Priority: Blocker
>
> [https://github.com/apache/struts/pull/542]
> clazz.isAssignableFrom(excludedClass)
> need change to
> excludedClass.isAssignableFrom(clazz)
>  
> because
> A.isAssignableFrom(B) this judge if B belong A
>  
> also it need 541 to block more class 
> [https://github.com/apache/struts/pull/541]
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)