2020年8月17日
近期shiro被爆漏洞,需升級至1.6.0
公司用nexus中使用了低版本的shiro,需要升級。因此采用僅替換jar包的方式來解決。經測試,在nexus-2.12.0-01/nexus/WEB-INF/lib 下的jar包做如下替換即可
encoder-1.2.2.jar 新增。下載地址https://repo1.maven.org/maven2/org/owasp/encoder/encoder/1.2.2/
commons-beanutils-1.9.4.jar 替換/新增。下載地址 https://repo1.maven.org/maven2/commons-beanutils/commons-beanutils/1.9.4/
shiro-core-1.6.0.jar 替換
shiro-ehcache-1.6.0.jar 替換
shiro-guice-1.6.0.jar 替換
shiro-web-1.6.0.jar 替換
重啟 ./nexus restart即可